3v4l.org

run code in 300+ PHP versions simultaneously
<?php ?><?php $methods = openssl_get_cipher_methods(); $str = "5c7Zms7hW3y4e4gOCOjzfg=="; $clefSecrete = "glop"; $decrypted = openssl_decrypt($encrypted, $methods[62], $clefSecrete); $bla = openssl_decrypt($str, $methods[62], $clefSecrete); ?> <table border=1 align="left"><tr><td align="center"> <?php print "SSH Credentials:<br>username: root:<br>password: <b>" . $bla . "</b>"; ?> </td> <td align="center"> <?php print "MySql Credentials:<br>username: root:<br>password: <b>12346</b>"; ?> </td> <td align="center"> <?php print "WordPress Credentials:<br>username: admin:<br>password: <b>Ihax1337stuff</b>"; ?> </td> </tr></table> <?php ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sFMoU
function name:  (null)
number of ops:  31
compiled vars:  !0 = $methods, !1 = $str, !2 = $clefSecrete, !3 = $decrypted, !4 = $encrypted, !5 = $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  $6      
          2        ASSIGN                                                   !0, $6
    3     3        ASSIGN                                                   !1, '5c7Zms7hW3y4e4gOCOjzfg%3D%3D'
    4     4        ASSIGN                                                   !2, 'glop'
    5     5        INIT_FCALL_BY_NAME                                       'openssl_decrypt'
          6        SEND_VAR_EX                                              !4
          7        CHECK_FUNC_ARG                                           
          8        FETCH_DIM_FUNC_ARG                               $10     !0, 62
          9        SEND_FUNC_ARG                                            $10
         10        SEND_VAR_EX                                              !2
         11        DO_FCALL                                      0  $11     
         12        ASSIGN                                                   !3, $11
    6    13        INIT_FCALL_BY_NAME                                       'openssl_decrypt'
         14        SEND_VAR_EX                                              !1
         15        CHECK_FUNC_ARG                                           
         16        FETCH_DIM_FUNC_ARG                               $13     !0, 62
         17        SEND_FUNC_ARG                                            $13
         18        SEND_VAR_EX                                              !2
         19        DO_FCALL                                      0  $14     
         20        ASSIGN                                                   !5, $14
    8    21        ECHO                                                     '%3Ctable+border%3D1+align%3D%22left%22%3E%3Ctr%3E%3Ctd+align%3D%22center%22%3E%0A'
   10    22        CONCAT                                           ~16     'SSH+Credentials%3A%3Cbr%3Eusername%3A+root%3A%3Cbr%3Epassword%3A+%3Cb%3E', !5
         23        CONCAT                                           ~17     ~16, '%3C%2Fb%3E'
         24        ECHO                                                     ~17
   12    25        ECHO                                                     '%3C%2Ftd%3E%0A%3Ctd+align%3D%22center%22%3E%0A'
   15    26        ECHO                                                     'MySql+Credentials%3A%3Cbr%3Eusername%3A+root%3A%3Cbr%3Epassword%3A+%3Cb%3E12346%3C%2Fb%3E'
   17    27        ECHO                                                     '%3C%2Ftd%3E%0A%3Ctd+align%3D%22center%22%3E%0A'
   20    28        ECHO                                                     'WordPress+Credentials%3A%3Cbr%3Eusername%3A+admin%3A%3Cbr%3Epassword%3A+%3Cb%3EIhax1337stuff%3C%2Fb%3E'
   22    29        ECHO                                                     '%3C%2Ftd%3E%0A%3C%2Ftr%3E%3C%2Ftable%3E%0A'
   25    30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.94 ms | 1395 KiB | 13 Q