diff --git a/gadgetchains/Symfony/RCE/12/chain.php b/gadgetchains/Symfony/RCE/12/chain.php new file mode 100755 index 00000000..cfe861b5 --- /dev/null +++ b/gadgetchains/Symfony/RCE/12/chain.php @@ -0,0 +1,26 @@ + $parameters['parameter'])); + + // a rmdir($path . '/' $cacheKey) will be done by Swift_KeyCache_DiskKeyCache::clearAll() + // so put something that will never exists to avoid issues + $path = "thispathshouldneverexists"; + $cache = new \Swift_KeyCache_DiskKeyCache($keys, $path); + + return $cache; + } + + +} diff --git a/gadgetchains/Symfony/RCE/12/gadgets.php b/gadgetchains/Symfony/RCE/12/gadgets.php new file mode 100755 index 00000000..8421da07 --- /dev/null +++ b/gadgetchains/Symfony/RCE/12/gadgets.php @@ -0,0 +1,25 @@ +_keys = $keys; + $this->_path = $path; + } +} + +class sfOutputEscaperArrayDecorator +{ + protected $value; + + protected $escapingMethod; + + public function __construct($escapingMethod, $value) { + $this->escapingMethod = $escapingMethod; + $this->value = $value; + } +} \ No newline at end of file diff --git a/gadgetchains/Symfony/RCE/13/chain.php b/gadgetchains/Symfony/RCE/13/chain.php new file mode 100755 index 00000000..83432af4 --- /dev/null +++ b/gadgetchains/Symfony/RCE/13/chain.php @@ -0,0 +1,20 @@ +prop = $prop; + } + + public function serialize() + { + return serialize($this->prop); + } + + public function unserialize($serialized) + { + } +} + +class sfOutputEscaperArrayDecorator +{ + protected $value; + + protected $escapingMethod; + + public function __construct($escapingMethod, $value) { + $this->escapingMethod = $escapingMethod; + $this->value = $value; + } +} \ No newline at end of file diff --git a/gadgetchains/Symfony/RCE/14/chain.php b/gadgetchains/Symfony/RCE/14/chain.php new file mode 100755 index 00000000..1fb6a0bf --- /dev/null +++ b/gadgetchains/Symfony/RCE/14/chain.php @@ -0,0 +1,20 @@ +dateString = $dateString; + $this->tzString = $tzString; + } +} + + +class sfOutputEscaperObjectDecorator +{ + protected $value; + + protected $escapingMethod; + + public function __construct($escapingMethod, $value) { + $this->escapingMethod = $escapingMethod; + $this->value = $value; + } +} + +class sfCultureInfo +{ + protected $dataFileExt = '.dat'; + protected $data = array(); + protected $culture; + protected $dataDir; + protected $dataFiles = array(); + protected $dateTimeFormat; + protected $numberFormat; + protected $properties = array(); + + public function __construct($culture) { + $this->culture = $culture; + } + +} \ No newline at end of file diff --git a/gadgetchains/Symfony/RCE/15/chain.php b/gadgetchains/Symfony/RCE/15/chain.php new file mode 100755 index 00000000..0d94a312 --- /dev/null +++ b/gadgetchains/Symfony/RCE/15/chain.php @@ -0,0 +1,20 @@ +escapingMethod = $escapingMethod; + $this->value = $value; + } +} + +class MySQLiTableInfo +{ + + protected $name; + protected $columns = array(); + protected $foreignKeys = array(); + protected $indexes = array(); + protected $primaryKey; + protected $pkLoaded = false; + protected $fksLoaded = false; + protected $indexesLoaded = false; + protected $colsLoaded = false; + protected $vendorLoaded = false; + protected $vendorSpecificInfo = array(); + protected $conn; + protected $database; + protected $dblink; + protected $dbname; + + public function __construct($columns) + { + $this->columns = $columns; + } +} \ No newline at end of file