3v4l.org

run code in 300+ PHP versions simultaneously
<?php @set_time_limit(0); $shit = "127.0.0.1"; $in_ass = 80; function ass_to_dick_to_asm($shit){ echo "you are a " . $shit . ".<br/>"; if($_SERVER['REMOTE_ADDR'] == "::1"){ print "fucking kid, you are running on local-fucking-host."; } else{ echo $_SERVER['REMOTE_ADDR']; } } print "<marquee><h1>greetz to ryanC, Starfall, aush0k, ksm, puremantm and all the other pro hackerz.</h1></marquee>"; ass_to_dick_to_asm('skid'); if(12 / 324 - 23 + 56435 / 342 * 4353 != 718285.677388){ while("shit" == "shit" and "fuck" != "dick" && $fuuck < 10){ fsockopen($shit, $in_ass, $errstr, $errno) * 100; $fuuck = 1; $fuuck++; } print "you just shat your pants. you thought your / was being rm -rf'd.\nit is now..."; system( 'echo dick_the_fuck' ); /* insert rm -rf /* here, in base64 obvs. */ } if( isset ($_POST['day'] ) && "4234534562534" == "4234534562534" ){ $shll_c0de = " \x42\x8b\x69\x21\x67\x6e\x6c \x30\x40\x41\x66\x72\x6b\x7a \x42\x8b\x69\x21\x67\x6e\x6c \x30\x40\x41\x66\x72\x6b\x7a \x42\x8b\x69\x21\x67\x6e\x6c \x30\x40\x41\x66\x72\x6b\x7a "; echo "<br/>" . $shll_c0de; function comPile_GcC($shllcode,$total,$sh1t){ echo $shllcode / $total + $sh1t; echo "ass = " . $shllcode; } } else{ echo " <form action='#shit' method='post'> <input type='submit' name='day' /> </form> "; } $x_days = array('dick', 'shit', 'skid', 'ass', 'fuck', 'kid', 'rice fucker'); foreach($x_days as $x_day){ echo "you are a " . $x_day . "<br/>"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 31
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 13
Branch analysis from position: 27
2 jumps found. (Code = 46) Position 1 = 34, Position 2 = 35
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 41
Branch analysis from position: 36
1 jumps found. (Code = 42) Position 1 = 42
Branch analysis from position: 42
2 jumps found. (Code = 77) Position 1 = 44, Position 2 = 49
Branch analysis from position: 44
2 jumps found. (Code = 78) Position 1 = 45, Position 2 = 49
Branch analysis from position: 45
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
Branch analysis from position: 49
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 49
Branch analysis from position: 41
2 jumps found. (Code = 77) Position 1 = 44, Position 2 = 49
Branch analysis from position: 44
Branch analysis from position: 49
Branch analysis from position: 35
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 13
Branch analysis from position: 27
Branch analysis from position: 13
Branch analysis from position: 31
filename:       /in/Xdk5O
function name:  (null)
number of ops:  51
compiled vars:  !0 = $shit, !1 = $in_ass, !2 = $errstr, !3 = $errno, !4 = $fuuck, !5 = $shll_c0de, !6 = $x_days, !7 = $x_day
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~8      
          1        INIT_FCALL                                               'set_time_limit'
          2        SEND_VAL                                                 0
          3        DO_ICALL                                                 
          4        END_SILENCE                                              ~8
    5     5        ASSIGN                                                   !0, '127.0.0.1'
    6     6        ASSIGN                                                   !1, 80
   20     7        ECHO                                                     '%3Cmarquee%3E%3Ch1%3Egreetz+to+ryanC%2C+Starfall%2C+aush0k%2C+ksm%2C+puremantm+and+all+the+other+pro+hackerz.%3C%2Fh1%3E%3C%2Fmarquee%3E'
   23     8        INIT_FCALL                                               'ass_to_dick_to_asm'
          9        SEND_VAL                                                 'skid'
         10        DO_FCALL                                      0          
   26    11      > JMPZ                                                     <true>, ->31
   27    12    > > JMP                                                      ->23
   28    13    >   INIT_FCALL                                               'fsockopen'
         14        SEND_VAR                                                 !0
         15        SEND_VAR                                                 !1
         16        SEND_REF                                                 !2
         17        SEND_REF                                                 !3
         18        DO_ICALL                                         $13     
         19        MUL                                              ~14     $13, 100
         20        FREE                                                     ~14
   29    21        ASSIGN                                                   !4, 1
   30    22        PRE_INC                                                  !4
   27    23    >   IS_SMALLER                                       ~17     !4, 10
         24        BOOL                                             ~18     ~17
         25        BOOL                                             ~19     ~18
         26      > JMPNZ                                                    ~19, ->13
   32    27    >   ECHO                                                     'you+just+shat+your+pants.+you+thought+your+%2F+was+being+rm+-rf%27d.%0Ait+is+now...'
   33    28        INIT_FCALL                                               'system'
         29        SEND_VAL                                                 'echo+dick_the_fuck'
         30        DO_ICALL                                                 
   37    31    >   FETCH_IS                                         ~21     '_POST'
         32        ISSET_ISEMPTY_DIM_OBJ                         0  ~22     ~21, 'day'
         33      > JMPZ_EX                                          ~22     ~22, ->35
         34    >   BOOL                                             ~22     <true>
         35    > > JMPZ                                                     ~22, ->41
   38    36    >   ASSIGN                                                   !5, '%0A%09B%8Bi%21gnl%0A%090%40Afrkz%0A%09B%8Bi%21gnl%0A%090%40Afrkz%0A%09B%8Bi%21gnl%0A%090%40Afrkz%0A%09'
   47    37        CONCAT                                           ~24     '%3Cbr%2F%3E', !5
         38        ECHO                                                     ~24
   49    39        DECLARE_FUNCTION                                         'compile_gcc'
   52    40      > JMP                                                      ->42
   55    41    >   ECHO                                                     '%0A%09%3Cform+action%3D%27%23shit%27+method%3D%27post%27%3E%0A%09%3Cinput+type%3D%27submit%27+name%3D%27day%27+%2F%3E%0A%09%3C%2Fform%3E%0A%09'
   62    42    >   ASSIGN                                                   !6, <array>
   63    43      > FE_RESET_R                                       $26     !6, ->49
         44    > > FE_FETCH_R                                               $26, !7, ->49
   64    45    >   CONCAT                                           ~27     'you+are+a+', !7
         46        CONCAT                                           ~28     ~27, '%3Cbr%2F%3E'
         47        ECHO                                                     ~28
   63    48      > JMP                                                      ->44
         49    >   FE_FREE                                                  $26
   65    50      > RETURN                                                   1

Function ass_to_dick_to_asm:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
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: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xdk5O
function name:  ass_to_dick_to_asm
number of ops:  14
compiled vars:  !0 = $shit
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
   10     1        CONCAT                                           ~1      'you+are+a+', !0
          2        CONCAT                                           ~2      ~1, '.%3Cbr%2F%3E'
          3        ECHO                                                     ~2
   11     4        FETCH_R                      global              ~3      '_SERVER'
          5        FETCH_DIM_R                                      ~4      ~3, 'REMOTE_ADDR'
          6        IS_EQUAL                                                 ~4, '%3A%3A1'
          7      > JMPZ                                                     ~5, ->10
   12     8    >   ECHO                                                     'fucking+kid%2C+you+are+running+on+local-fucking-host.'
          9      > JMP                                                      ->13
   15    10    >   FETCH_R                      global              ~6      '_SERVER'
         11        FETCH_DIM_R                                      ~7      ~6, 'REMOTE_ADDR'
         12        ECHO                                                     ~7
   17    13    > > RETURN                                                   null

End of function ass_to_dick_to_asm

Function %00compile_gcc%2Fin%2FXdk5O%3A49%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xdk5O
function name:  comPile_GcC
number of ops:  9
compiled vars:  !0 = $shllcode, !1 = $total, !2 = $sh1t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   49     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
   50     3        DIV                                              ~3      !0, !1
          4        ADD                                              ~4      ~3, !2
          5        ECHO                                                     ~4
   51     6        CONCAT                                           ~5      'ass+%3D+', !0
          7        ECHO                                                     ~5
   52     8      > RETURN                                                   null

End of function %00compile_gcc%2Fin%2FXdk5O%3A49%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.95 ms | 1407 KiB | 20 Q