3v4l.org

run code in 300+ PHP versions simultaneously
<?php include('http://www.bright-shadows.net/challenges/exploit_rhc6/libs/crypt04.php'); $adminuser ="admin"; $adminpasswd ="test"; $u = 0; $p = 0; $crypt1 = '061215161625'; $crypt2 = '080118040418092205'; $u = crypt04($crypt1, $adminuser); $p = crypt04($crypt2, $adminpasswd); print $u; print $p; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TIX2B
function name:  (null)
number of ops:  20
compiled vars:  !0 = $adminuser, !1 = $adminpasswd, !2 = $u, !3 = $p, !4 = $crypt1, !5 = $crypt2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INCLUDE_OR_EVAL                                          'http%3A%2F%2Fwww.bright-shadows.net%2Fchallenges%2Fexploit_rhc6%2Flibs%2Fcrypt04.php', INCLUDE
    5     1        ASSIGN                                                   !0, 'admin'
    6     2        ASSIGN                                                   !1, 'test'
    8     3        ASSIGN                                                   !2, 0
    9     4        ASSIGN                                                   !3, 0
   10     5        ASSIGN                                                   !4, '061215161625'
   11     6        ASSIGN                                                   !5, '080118040418092205'
   12     7        INIT_FCALL_BY_NAME                                       'crypt04'
          8        SEND_VAR_EX                                              !4
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0  $13     
         11        ASSIGN                                                   !2, $13
   13    12        INIT_FCALL_BY_NAME                                       'crypt04'
         13        SEND_VAR_EX                                              !5
         14        SEND_VAR_EX                                              !1
         15        DO_FCALL                                      0  $15     
         16        ASSIGN                                                   !3, $15
   14    17        ECHO                                                     !2
   15    18        ECHO                                                     !3
   16    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.4 ms | 1393 KiB | 13 Q