3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* This version is not compatible with previous versions of the client */ define('vpsp_version', '2.5.0'); /* Set your password here Leave the variable empty to use no password ! Remove { and } */ define('vpsp_pwd', '{password}'); /* Set encryption key here Don't leave the variable empty. In order to enable/disable encryption use 'Enable traffic encryption' setting in the GUI client. ! Remove { and } */ define('vpsp_enc_key', '{key}'); /* Displaying of any messages is suppressed. In order to keep downloaded file integrity, no extraneous data must be ouptut by this script */ error_reporting(~E_ALL); @set_time_limit(0); ob_implicit_flush(1); ignore_user_abort(0); header('Content-type: application/octet-stream'); header('Content-Transfer-Encoding: binary'); header('X-VPSP-VERSION: ' . vpsp_version); $input = fopen('php://input', 'r'); define('vpsp_enc', ord(fread($input, 1)) != 0); $ok; if (vpsp_enc) { if (isset($GLOBALS['vpsp_pe']) == false) { $GLOBALS['vpsp_ks'] = VC_GenerateKeyHash(vpsp_enc_key); $GLOBALS['vpsp_pe'] = VC_Init(vpsp_enc_key, $GLOBALS['vpsp_ks']); } $GLOBALS['vpsp_pd'] = array_flip($GLOBALS['vpsp_pe']); $ok = VC_Decrypt(fread($input, 2)); if ($ok != 'OK') { header('X-VPSP-ERROR: bad_enc_key'); header('X-VPSP-HOST: ' . (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); exit; } $rBuffLen = ord(VC_Decrypt(fread($input, 1))) * 256 * 256 * 256 + ord(VC_Decrypt(fread($input, 1))) * 256 * 256 + ord(VC_Decrypt(fread($input, 1))) * 256 + ord(VC_Decrypt(fread($input, 1))); $sBuffLen = ord(VC_Decrypt(fread($input, 1))) * 256 * 256 * 256 + ord(VC_Decrypt(fread($input, 1))) * 256 * 256 + ord(VC_Decrypt(fread($input, 1))) * 256 + ord(VC_Decrypt(fread($input, 1))); $reqPwdLen = ord(VC_Decrypt(fread($input, 1))); $reqPwd = ($reqPwdLen > 0) ? VC_Decrypt(fread($input, $reqPwdLen)) : ''; $https = ord(VC_Decrypt(fread($input, 1))); $host = VC_Decrypt(fread($input, ord(VC_Decrypt(fread($input, 1))))); $port = ord(VC_Decrypt(fread($input, 1))) * 256 + ord(VC_Decrypt(fread($input, 1))); } else { $ok = fread($input, 2); if ($ok != 'OK') { header('X-VPSP-ERROR: bad_request'); header('X-VPSP-HOST: ' . (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); exit; } $rBuffLen = ord(fread($input, 1)) * 256 * 256 * 256 + ord(fread($input, 1)) * 256 * 256 + ord(fread($input, 1)) * 256 + ord(fread($input, 1)); $sBuffLen = ord(fread($input, 1)) * 256 * 256 * 256 + ord(fread($input, 1)) * 256 * 256 + ord(fread($input, 1)) * 256 + ord(fread($input, 1)); $reqPwdLen = ord(fread($input, 1)); $reqPwd = ($reqPwdLen > 0) ? fread($input, $reqPwdLen) : ''; $https = ord(fread($input, 1)); $host = fread($input, ord(fread($input, 1))); $port = ord(fread($input, 1)) * 256 + ord(fread($input, 1)); } if ($reqPwd !== vpsp_pwd) { $resp = "HTTP/1.0 401 Unauthorized\r\nX-VPSP-VERSION: " . vpsp_version . "\r\nX-VPSP-ERROR: bad_password\r\nX-VPSP-HOST: " . (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . "\r\nConnection: close\r\n\r\n"; if (vpsp_enc) { echo VC_Encrypt($resp); } else { echo $resp; } exit; } if ($https == 1) { $host = 'ssl://' . $host; } $fsok = fsockopen($host, $port, $errno, $errstr, 20); if ($fsok == false) { $resp = "HTTP/1.0 503 Service Unavailable\r\nX-VPSP-VERSION: " . vpsp_version . "\r\nX-VPSP-ERROR: host_down\r\nX-VPSP-ERROR-TEXT: " . base64_encode($errstr) ."\r\nX-VPSP-HOST: " . (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . "\r\nX-VPSP-TARGET: " . str_replace('ssl://', '', $host) . "\r\nConnection: close\r\n\r\n"; if (vpsp_enc) { echo VC_Encrypt($resp); } else { echo $resp; } exit; } while ($wbuffer = fread($input, $rBuffLen)) { if (vpsp_enc) { fwrite($fsok, VC_Decrypt($wbuffer)); } else { fwrite($fsok, $wbuffer); } } fflush($fsok); while ($rbuffer = fread($fsok, $sBuffLen)) { if (vpsp_enc) { echo VC_Encrypt($rbuffer); } else { echo $rbuffer; } } fflush($fsok); fclose($fsok); function MD5Hash($str) { $m = md5($str); $s = ''; foreach(explode("\n", trim(chunk_split($m, 2))) as $h) { $s .= chr(hexdec($h)); } return $s; } function VC_Init($key, $ks) { $s = range(0, 255); if (strlen($key) == 0) { return $s; } $km = MD5Hash($key); $kx = ''; for ($i = 0; $i < 16; $i++) { $kx .= MD5Hash($km . $km[$i] . chr($ks)); } $r = ($ks % 0x0F) + 1; $j = $ks; for ($n = 0; $n < $r; $n++) { for ($i = 0; $i < 256; $i++) { $j = (($j + $s[$i] + $n + ord($kx[$i])) ^ $ks) % 256; $t = $s[$i]; $s[$i] = $s[$j]; $s[$j] = $t; } } for ($i = 0; $i < 256; $i++) { $s[$i] = $s[$i] ^ $ks; } return $s; } function VC_GenerateKeyHash($key) { $m = MD5Hash($key); $kt = 0; for ($i = 0; $i < 16; $i++) { $kt += ord($m[$i]); } return $kt % 256; } function VC_Encrypt($str) { $pe = $GLOBALS['vpsp_pe']; $out = ''; $len = strlen($str); for ($y = 0; $y < $len; $y++) { $out .= chr($pe[ord($str[$y])]); } return $out; } function VC_Decrypt($str) { $pd = $GLOBALS['vpsp_pd']; $out = ''; $len = strlen($str); for ($y = 0; $y < $len; $y++) { $out .= chr($pd[ord($str[$y])]); } return $out; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 56, Position 2 = 293
Branch analysis from position: 56
2 jumps found. (Code = 43) Position 1 = 60, Position 2 = 78
Branch analysis from position: 60
2 jumps found. (Code = 43) Position 1 = 96, Position 2 = 116
Branch analysis from position: 96
2 jumps found. (Code = 43) Position 1 = 103, Position 2 = 105
Branch analysis from position: 103
1 jumps found. (Code = 42) Position 1 = 106
Branch analysis from position: 106
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 105
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 116
2 jumps found. (Code = 43) Position 1 = 229, Position 2 = 238
Branch analysis from position: 229
1 jumps found. (Code = 42) Position 1 = 239
Branch analysis from position: 239
1 jumps found. (Code = 42) Position 1 = 451
Branch analysis from position: 451
2 jumps found. (Code = 43) Position 1 = 454, Position 2 = 481
Branch analysis from position: 454
2 jumps found. (Code = 43) Position 1 = 460, Position 2 = 462
Branch analysis from position: 460
1 jumps found. (Code = 42) Position 1 = 463
Branch analysis from position: 463
2 jumps found. (Code = 43) Position 1 = 474, Position 2 = 479
Branch analysis from position: 474
1 jumps found. (Code = 42) Position 1 = 480
Branch analysis from position: 480
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 479
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 462
2 jumps found. (Code = 43) Position 1 = 474, Position 2 = 479
Branch analysis from position: 474
Branch analysis from position: 479
Branch analysis from position: 481
2 jumps found. (Code = 43) Position 1 = 483, Position 2 = 485
Branch analysis from position: 483
2 jumps found. (Code = 43) Position 1 = 495, Position 2 = 534
Branch analysis from position: 495
2 jumps found. (Code = 43) Position 1 = 506, Position 2 = 508
Branch analysis from position: 506
1 jumps found. (Code = 42) Position 1 = 509
Branch analysis from position: 509
2 jumps found. (Code = 43) Position 1 = 527, Position 2 = 532
Branch analysis from position: 527
1 jumps found. (Code = 42) Position 1 = 533
Branch analysis from position: 533
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 532
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 508
2 jumps found. (Code = 43) Position 1 = 527, Position 2 = 532
Branch analysis from position: 527
Branch analysis from position: 532
Branch analysis from position: 534
1 jumps found. (Code = 42) Position 1 = 549
Branch analysis from position: 549
2 jumps found. (Code = 44) Position 1 = 555, Position 2 = 535
Branch analysis from position: 555
1 jumps found. (Code = 42) Position 1 = 567
Branch analysis from position: 567
2 jumps found. (Code = 44) Position 1 = 573, Position 2 = 559
Branch analysis from position: 573
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 559
2 jumps found. (Code = 43) Position 1 = 561, Position 2 = 566
Branch analysis from position: 561
1 jumps found. (Code = 42) Position 1 = 567
Branch analysis from position: 567
Branch analysis from position: 566
2 jumps found. (Code = 44) Position 1 = 573, Position 2 = 559
Branch analysis from position: 573
Branch analysis from position: 559
Branch analysis from position: 535
2 jumps found. (Code = 43) Position 1 = 537, Position 2 = 545
Branch analysis from position: 537
1 jumps found. (Code = 42) Position 1 = 549
Branch analysis from position: 549
Branch analysis from position: 545
2 jumps found. (Code = 44) Position 1 = 555, Position 2 = 535
Branch analysis from position: 555
Branch analysis from position: 535
Branch analysis from position: 485
Branch analysis from position: 238
1 jumps found. (Code = 42) Position 1 = 451
Branch analysis from position: 451
Branch analysis from position: 78
Branch analysis from position: 293
2 jumps found. (Code = 43) Position 1 = 300, Position 2 = 320
Branch analysis from position: 300
2 jumps found. (Code = 43) Position 1 = 307, Position 2 = 309
Branch analysis from position: 307
1 jumps found. (Code = 42) Position 1 = 310
Branch analysis from position: 310
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 309
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 320
2 jumps found. (Code = 43) Position 1 = 406, Position 2 = 412
Branch analysis from position: 406
1 jumps found. (Code = 42) Position 1 = 413
Branch analysis from position: 413
2 jumps found. (Code = 43) Position 1 = 454, Position 2 = 481
Branch analysis from position: 454
Branch analysis from position: 481
Branch analysis from position: 412
2 jumps found. (Code = 43) Position 1 = 454, Position 2 = 481
Branch analysis from position: 454
Branch analysis from position: 481
filename:       /in/F3tmL
function name:  (null)
number of ops:  580
compiled vars:  !0 = $input, !1 = $ok, !2 = $rBuffLen, !3 = $sBuffLen, !4 = $reqPwdLen, !5 = $reqPwd, !6 = $https, !7 = $host, !8 = $port, !9 = $resp, !10 = $fsok, !11 = $errno, !12 = $errstr, !13 = $wbuffer, !14 = $rbuffer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'vpsp_version'
          2        SEND_VAL                                                 '2.5.0'
          3        DO_ICALL                                                 
   13     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 'vpsp_pwd'
          6        SEND_VAL                                                 '%7Bpassword%7D'
          7        DO_ICALL                                                 
   21     8        INIT_FCALL                                               'define'
          9        SEND_VAL                                                 'vpsp_enc_key'
         10        SEND_VAL                                                 '%7Bkey%7D'
         11        DO_ICALL                                                 
   27    12        INIT_FCALL                                               'error_reporting'
         13        SEND_VAL                                                 -32768
         14        DO_ICALL                                                 
   29    15        BEGIN_SILENCE                                    ~19     
         16        INIT_FCALL                                               'set_time_limit'
         17        SEND_VAL                                                 0
         18        DO_ICALL                                                 
         19        END_SILENCE                                              ~19
   30    20        INIT_FCALL                                               'ob_implicit_flush'
         21        SEND_VAL                                                 1
         22        DO_ICALL                                                 
   31    23        INIT_FCALL                                               'ignore_user_abort'
         24        SEND_VAL                                                 0
         25        DO_ICALL                                                 
   33    26        INIT_FCALL                                               'header'
         27        SEND_VAL                                                 'Content-type%3A+application%2Foctet-stream'
         28        DO_ICALL                                                 
   34    29        INIT_FCALL                                               'header'
         30        SEND_VAL                                                 'Content-Transfer-Encoding%3A+binary'
         31        DO_ICALL                                                 
   35    32        INIT_FCALL                                               'header'
         33        FETCH_CONSTANT                                   ~25     'vpsp_version'
         34        CONCAT                                           ~26     'X-VPSP-VERSION%3A+', ~25
         35        SEND_VAL                                                 ~26
         36        DO_ICALL                                                 
   37    37        INIT_FCALL                                               'fopen'
         38        SEND_VAL                                                 'php%3A%2F%2Finput'
         39        SEND_VAL                                                 'r'
         40        DO_ICALL                                         $28     
         41        ASSIGN                                                   !0, $28
   38    42        INIT_FCALL                                               'define'
         43        SEND_VAL                                                 'vpsp_enc'
         44        INIT_FCALL                                               'ord'
         45        INIT_FCALL                                               'fread'
         46        SEND_VAR                                                 !0
         47        SEND_VAL                                                 1
         48        DO_ICALL                                         $30     
         49        SEND_VAR                                                 $30
         50        DO_ICALL                                         $31     
         51        IS_NOT_EQUAL                                     ~32     $31, 0
         52        SEND_VAL                                                 ~32
         53        DO_ICALL                                                 
   41    54        FETCH_CONSTANT                                   ~34     'vpsp_enc'
         55      > JMPZ                                                     ~34, ->293
   42    56    >   FETCH_IS                                         ~35     'GLOBALS'
         57        ISSET_ISEMPTY_DIM_OBJ                         0  ~36     ~35, 'vpsp_pe'
         58        BOOL_NOT                                         ~37     ~36
         59      > JMPZ                                                     ~37, ->78
   43    60    >   INIT_FCALL_BY_NAME                                       'VC_GenerateKeyHash'
         61        FETCH_CONSTANT                                   ~40     'vpsp_enc_key'
         62        SEND_VAL_EX                                              ~40
         63        DO_FCALL                                      0  $41     
         64        FETCH_W                      global              $38     'GLOBALS'
         65        ASSIGN_DIM                                               $38, 'vpsp_ks'
         66        OP_DATA                                                  $41
   44    67        INIT_FCALL_BY_NAME                                       'VC_Init'
         68        FETCH_CONSTANT                                   ~44     'vpsp_enc_key'
         69        SEND_VAL_EX                                              ~44
         70        CHECK_FUNC_ARG                                           
         71        FETCH_FUNC_ARG               global              $45     'GLOBALS'
         72        FETCH_DIM_FUNC_ARG                               $46     $45, 'vpsp_ks'
         73        SEND_FUNC_ARG                                            $46
         74        DO_FCALL                                      0  $47     
         75        FETCH_W                      global              $42     'GLOBALS'
         76        ASSIGN_DIM                                               $42, 'vpsp_pe'
         77        OP_DATA                                                  $47
   46    78    >   INIT_FCALL                                               'array_flip'
         79        FETCH_R                      global              ~50     'GLOBALS'
         80        FETCH_DIM_R                                      ~51     ~50, 'vpsp_pe'
         81        SEND_VAL                                                 ~51
         82        DO_ICALL                                         $52     
         83        FETCH_W                      global              $48     'GLOBALS'
         84        ASSIGN_DIM                                               $48, 'vpsp_pd'
         85        OP_DATA                                                  $52
   48    86        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
         87        INIT_FCALL                                               'fread'
         88        SEND_VAR                                                 !0
         89        SEND_VAL                                                 2
         90        DO_ICALL                                         $53     
         91        SEND_VAR_NO_REF_EX                                       $53
         92        DO_FCALL                                      0  $54     
         93        ASSIGN                                                   !1, $54
   49    94        IS_NOT_EQUAL                                             !1, 'OK'
         95      > JMPZ                                                     ~56, ->116
   50    96    >   INIT_FCALL                                               'header'
         97        SEND_VAL                                                 'X-VPSP-ERROR%3A+bad_enc_key'
         98        DO_ICALL                                                 
   51    99        INIT_FCALL                                               'header'
        100        FETCH_IS                                         ~58     '_SERVER'
        101        ISSET_ISEMPTY_DIM_OBJ                         0          ~58, 'HTTPS'
        102      > JMPZ                                                     ~59, ->105
        103    >   QM_ASSIGN                                        ~60     'https%3A%2F%2F'
        104      > JMP                                                      ->106
        105    >   QM_ASSIGN                                        ~60     'http%3A%2F%2F'
        106    >   CONCAT                                           ~61     'X-VPSP-HOST%3A+', ~60
        107        FETCH_R                      global              ~62     '_SERVER'
        108        FETCH_DIM_R                                      ~63     ~62, 'HTTP_HOST'
        109        CONCAT                                           ~64     ~61, ~63
        110        FETCH_R                      global              ~65     '_SERVER'
        111        FETCH_DIM_R                                      ~66     ~65, 'REQUEST_URI'
        112        CONCAT                                           ~67     ~64, ~66
        113        SEND_VAL                                                 ~67
        114        DO_ICALL                                                 
   52   115      > EXIT                                                     
   54   116    >   INIT_FCALL                                               'ord'
        117        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        118        INIT_FCALL                                               'fread'
        119        SEND_VAR                                                 !0
        120        SEND_VAL                                                 1
        121        DO_ICALL                                         $69     
        122        SEND_VAR_NO_REF_EX                                       $69
        123        DO_FCALL                                      0  $70     
        124        SEND_VAR                                                 $70
        125        DO_ICALL                                         $71     
        126        MUL                                              ~72     $71, 256
        127        MUL                                              ~73     ~72, 256
        128        MUL                                              ~74     ~73, 256
        129        INIT_FCALL                                               'ord'
        130        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        131        INIT_FCALL                                               'fread'
        132        SEND_VAR                                                 !0
        133        SEND_VAL                                                 1
        134        DO_ICALL                                         $75     
        135        SEND_VAR_NO_REF_EX                                       $75
        136        DO_FCALL                                      0  $76     
        137        SEND_VAR                                                 $76
        138        DO_ICALL                                         $77     
        139        MUL                                              ~78     $77, 256
        140        MUL                                              ~79     ~78, 256
        141        ADD                                              ~80     ~74, ~79
        142        INIT_FCALL                                               'ord'
        143        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        144        INIT_FCALL                                               'fread'
        145        SEND_VAR                                                 !0
        146        SEND_VAL                                                 1
        147        DO_ICALL                                         $81     
        148        SEND_VAR_NO_REF_EX                                       $81
        149        DO_FCALL                                      0  $82     
        150        SEND_VAR                                                 $82
        151        DO_ICALL                                         $83     
        152        MUL                                              ~84     $83, 256
        153        ADD                                              ~85     ~80, ~84
        154        INIT_FCALL                                               'ord'
        155        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        156        INIT_FCALL                                               'fread'
        157        SEND_VAR                                                 !0
        158        SEND_VAL                                                 1
        159        DO_ICALL                                         $86     
        160        SEND_VAR_NO_REF_EX                                       $86
        161        DO_FCALL                                      0  $87     
        162        SEND_VAR                                                 $87
        163        DO_ICALL                                         $88     
        164        ADD                                              ~89     ~85, $88
        165        ASSIGN                                                   !2, ~89
   55   166        INIT_FCALL                                               'ord'
        167        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        168        INIT_FCALL                                               'fread'
        169        SEND_VAR                                                 !0
        170        SEND_VAL                                                 1
        171        DO_ICALL                                         $91     
        172        SEND_VAR_NO_REF_EX                                       $91
        173        DO_FCALL                                      0  $92     
        174        SEND_VAR                                                 $92
        175        DO_ICALL                                         $93     
        176        MUL                                              ~94     $93, 256
        177        MUL                                              ~95     ~94, 256
        178        MUL                                              ~96     ~95, 256
        179        INIT_FCALL                                               'ord'
        180        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        181        INIT_FCALL                                               'fread'
        182        SEND_VAR                                                 !0
        183        SEND_VAL                                                 1
        184        DO_ICALL                                         $97     
        185        SEND_VAR_NO_REF_EX                                       $97
        186        DO_FCALL                                      0  $98     
        187        SEND_VAR                                                 $98
        188        DO_ICALL                                         $99     
        189        MUL                                              ~100    $99, 256
        190        MUL                                              ~101    ~100, 256
        191        ADD                                              ~102    ~96, ~101
        192        INIT_FCALL                                               'ord'
        193        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        194        INIT_FCALL                                               'fread'
        195        SEND_VAR                                                 !0
        196        SEND_VAL                                                 1
        197        DO_ICALL                                         $103    
        198        SEND_VAR_NO_REF_EX                                       $103
        199        DO_FCALL                                      0  $104    
        200        SEND_VAR                                                 $104
        201        DO_ICALL                                         $105    
        202        MUL                                              ~106    $105, 256
        203        ADD                                              ~107    ~102, ~106
        204        INIT_FCALL                                               'ord'
        205        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        206        INIT_FCALL                                               'fread'
        207        SEND_VAR                                                 !0
        208        SEND_VAL                                                 1
        209        DO_ICALL                                         $108    
        210        SEND_VAR_NO_REF_EX                                       $108
        211        DO_FCALL                                      0  $109    
        212        SEND_VAR                                                 $109
        213        DO_ICALL                                         $110    
        214        ADD                                              ~111    ~107, $110
        215        ASSIGN                                                   !3, ~111
   56   216        INIT_FCALL                                               'ord'
        217        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        218        INIT_FCALL                                               'fread'
        219        SEND_VAR                                                 !0
        220        SEND_VAL                                                 1
        221        DO_ICALL                                         $113    
        222        SEND_VAR_NO_REF_EX                                       $113
        223        DO_FCALL                                      0  $114    
        224        SEND_VAR                                                 $114
        225        DO_ICALL                                         $115    
        226        ASSIGN                                                   !4, $115
   57   227        IS_SMALLER                                               0, !4
        228      > JMPZ                                                     ~117, ->238
        229    >   INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        230        INIT_FCALL                                               'fread'
        231        SEND_VAR                                                 !0
        232        SEND_VAR                                                 !4
        233        DO_ICALL                                         $118    
        234        SEND_VAR_NO_REF_EX                                       $118
        235        DO_FCALL                                      0  $119    
        236        QM_ASSIGN                                        ~120    $119
        237      > JMP                                                      ->239
        238    >   QM_ASSIGN                                        ~120    ''
        239    >   ASSIGN                                                   !5, ~120
   58   240        INIT_FCALL                                               'ord'
        241        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        242        INIT_FCALL                                               'fread'
        243        SEND_VAR                                                 !0
        244        SEND_VAL                                                 1
        245        DO_ICALL                                         $122    
        246        SEND_VAR_NO_REF_EX                                       $122
        247        DO_FCALL                                      0  $123    
        248        SEND_VAR                                                 $123
        249        DO_ICALL                                         $124    
        250        ASSIGN                                                   !6, $124
   59   251        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        252        INIT_FCALL                                               'fread'
        253        SEND_VAR                                                 !0
        254        INIT_FCALL                                               'ord'
        255        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        256        INIT_FCALL                                               'fread'
        257        SEND_VAR                                                 !0
        258        SEND_VAL                                                 1
        259        DO_ICALL                                         $126    
        260        SEND_VAR_NO_REF_EX                                       $126
        261        DO_FCALL                                      0  $127    
        262        SEND_VAR                                                 $127
        263        DO_ICALL                                         $128    
        264        SEND_VAR                                                 $128
        265        DO_ICALL                                         $129    
        266        SEND_VAR_NO_REF_EX                                       $129
        267        DO_FCALL                                      0  $130    
        268        ASSIGN                                                   !7, $130
   60   269        INIT_FCALL                                               'ord'
        270        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        271        INIT_FCALL                                               'fread'
        272        SEND_VAR                                                 !0
        273        SEND_VAL                                                 1
        274        DO_ICALL                                         $132    
        275        SEND_VAR_NO_REF_EX                                       $132
        276        DO_FCALL                                      0  $133    
        277        SEND_VAR                                                 $133
        278        DO_ICALL                                         $134    
        279        MUL                                              ~135    $134, 256
        280        INIT_FCALL                                               'ord'
        281        INIT_FCALL_BY_NAME                                       'VC_Decrypt'
        282        INIT_FCALL                                               'fread'
        283        SEND_VAR                                                 !0
        284        SEND_VAL                                                 1
        285        DO_ICALL                                         $136    
        286        SEND_VAR_NO_REF_EX                                       $136
        287        DO_FCALL                                      0  $137    
        288        SEND_VAR                                                 $137
        289        DO_ICALL                                         $138    
        290        ADD                                              ~139    ~135, $138
        291        ASSIGN                                                   !8, ~139
        292      > JMP                                                      ->451
   62   293    >   INIT_FCALL                                               'fread'
        294        SEND_VAR                                                 !0
        295        SEND_VAL                                                 2
        296        DO_ICALL                                         $141    
        297        ASSIGN                                                   !1, $141
   63   298        IS_NOT_EQUAL                                             !1, 'OK'
        299      > JMPZ                                                     ~143, ->320
   64   300    >   INIT_FCALL                                               'header'
        301        SEND_VAL                                                 'X-VPSP-ERROR%3A+bad_request'
        302        DO_ICALL                                                 
   65   303        INIT_FCALL                                               'header'
        304        FETCH_IS                                         ~145    '_SERVER'
        305        ISSET_ISEMPTY_DIM_OBJ                         0          ~145, 'HTTPS'
        306      > JMPZ                                                     ~146, ->309
        307    >   QM_ASSIGN                                        ~147    'https%3A%2F%2F'
        308      > JMP                                                      ->310
        309    >   QM_ASSIGN                                        ~147    'http%3A%2F%2F'
        310    >   CONCAT                                           ~148    'X-VPSP-HOST%3A+', ~147
        311        FETCH_R                      global              ~149    '_SERVER'
        312        FETCH_DIM_R                                      ~150    ~149, 'HTTP_HOST'
        313        CONCAT                                           ~151    ~148, ~150
        314        FETCH_R                      global              ~152    '_SERVER'
        315        FETCH_DIM_R                                      ~153    ~152, 'REQUEST_URI'
        316        CONCAT                                           ~154    ~151, ~153
        317        SEND_VAL                                                 ~154
        318        DO_ICALL                                                 
   66   319      > EXIT                                                     
   68   320    >   INIT_FCALL                                               'ord'
        321        INIT_FCALL                                               'fread'
        322        SEND_VAR                                                 !0
        323        SEND_VAL                                                 1
        324        DO_ICALL                                         $156    
        325        SEND_VAR                                                 $156
        326        DO_ICALL                                         $157    
        327        MUL                                              ~158    $157, 256
        328        MUL                                              ~159    ~158, 256
        329        MUL                                              ~160    ~159, 256
        330        INIT_FCALL                                               'ord'
 

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
302.79 ms | 1428 KiB | 34 Q