3v4l.org

run code in 300+ PHP versions simultaneously
<?php $methods = openssl_get_cipher_methods(); $clefSecrete = "glop"; $str = '5c7Zms7hW3y4e4gOCOjzfg=='; for($i = 0; $i < count($methods); $i++){ $bla = openssl_decrypt($str, $methods[$i], $clefSecrete); print "index: " . $i; if($bla){ print "\r\nSSH Credentials:<br>username: root:<br>password: <b>" . $bla . "</b>"; } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 7
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 21
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 7
Branch analysis from position: 25
Branch analysis from position: 7
Branch analysis from position: 21
filename:       /in/of8rd
function name:  (null)
number of ops:  26
compiled vars:  !0 = $methods, !1 = $clefSecrete, !2 = $str, !3 = $i, !4 = $bla
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'openssl_get_cipher_methods'
          1        DO_FCALL                                      0  $5      
          2        ASSIGN                                                   !0, $5
    3     3        ASSIGN                                                   !1, 'glop'
    4     4        ASSIGN                                                   !2, '5c7Zms7hW3y4e4gOCOjzfg%3D%3D'
    5     5        ASSIGN                                                   !3, 0
          6      > JMP                                                      ->22
    6     7    >   INIT_FCALL_BY_NAME                                       'openssl_decrypt'
          8        SEND_VAR_EX                                              !2
          9        CHECK_FUNC_ARG                                           
         10        FETCH_DIM_FUNC_ARG                               $10     !0, !3
         11        SEND_FUNC_ARG                                            $10
         12        SEND_VAR_EX                                              !1
         13        DO_FCALL                                      0  $11     
         14        ASSIGN                                                   !4, $11
    7    15        CONCAT                                           ~13     'index%3A+', !3
         16        ECHO                                                     ~13
    8    17      > JMPZ                                                     !4, ->21
    9    18    >   CONCAT                                           ~14     '%0D%0ASSH+Credentials%3A%3Cbr%3Eusername%3A+root%3A%3Cbr%3Epassword%3A+%3Cb%3E', !4
         19        CONCAT                                           ~15     ~14, '%3C%2Fb%3E'
         20        ECHO                                                     ~15
    5    21    >   PRE_INC                                                  !3
         22    >   COUNT                                            ~17     !0
         23        IS_SMALLER                                               !3, ~17
         24      > JMPNZ                                                    ~18, ->7
   13    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.29 ms | 1395 KiB | 13 Q