Exploit databaseDownload repository ZIP
GH-4e14e821fe70fe602c844dd60509c614
dandanllab/php-5.6.40-cve-2026-109618-109619
Sources for CVE-2026-109618
411 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files13
dandanllab/php-5.6.40-cve-2026-109618-109619Revision 6f241e8c620e
- ↑..Parent directory
- gtBasicTestCase.php
- gtBasicTestCaseFunction.php
- gtBasicTestCaseMethod.php
- gtErrorTestCase.php
- gtErrorTestCaseFunction.php
- gtErrorTestCaseMethod.php
- gtTestCase.php
- gtVariationContainer.php
- gtVariationContainerFunction.php
- gtVariationContainerMethod.php
- gtVariationTestCase.php
- gtVariationTestCaseFunction.php
- gtVariationTestCaseMethod.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
php-5.6.40/scripts/dev/generate-phpt/src/testcase/gtVariationContainerMethod.php
PHP · 1,075 bytes<?php
/**
* Container for all possible variation test cases for a method
*/
class gtVariationContainerMethod extends gtVariationContainer {
protected $method;
protected $optionalSections;
public function __construct($osl) {
$this->optionalSections = $osl;
}
/**
* Sets the method to be tested
*
* @param gtMethod $method
*/
public function setMethod(gtMethod $method) {
$this->method = $method;
}
/**
* Constructs all variation tests in $this_variationTests
*
*/
public function constructAll() {
$numberOfArguments = count($this->method->getMandatoryArgumentNames()) + count($this->method->getOptionalArgumentNames());
for($i = 1; $i <= $numberOfArguments; $i++) {
foreach ($this->dataTypes as $d) {
$testCase = gtVariationTestCase::getInstance($this->optionalSections, 'method');
$testCase->setUp($this->method, $i, $d);
$testCase->constructTestCase();
$this->variationTests[] = $testCase->toString();
}
}
}
}
?>