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['password'], $methods[62], $clefSecrete); print "<h1>Secure Password Manager v.0.9b</h1>"; print '<a href="index.php?logout">Logout</a>'; print "<h4>System Information:</h4>"; print "Ubuntu Linux 2.6.32-45-generic-pae<br>"; print "OpenSSH 5.3p1<br>"; print "MySql Version 14.14 Distrib 5.1.62 for Debian-Linux-GNU<br><br>"; ?> <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/tSFjk
function name:  (null)
number of ops:  39
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        CHECK_FUNC_ARG                                           
         15        FETCH_DIM_FUNC_ARG                               $13     !1, 'password'
         16        SEND_FUNC_ARG                                            $13
         17        CHECK_FUNC_ARG                                           
         18        FETCH_DIM_FUNC_ARG                               $14     !0, 62
         19        SEND_FUNC_ARG                                            $14
         20        SEND_VAR_EX                                              !2
         21        DO_FCALL                                      0  $15     
         22        ASSIGN                                                   !5, $15
    7    23        ECHO                                                     '%3Ch1%3ESecure+Password+Manager+v.0.9b%3C%2Fh1%3E'
    8    24        ECHO                                                     '%3Ca+href%3D%22index.php%3Flogout%22%3ELogout%3C%2Fa%3E'
    9    25        ECHO                                                     '%3Ch4%3ESystem+Information%3A%3C%2Fh4%3E'
   10    26        ECHO                                                     'Ubuntu+Linux+2.6.32-45-generic-pae%3Cbr%3E'
   11    27        ECHO                                                     'OpenSSH+5.3p1%3Cbr%3E'
   12    28        ECHO                                                     'MySql+Version+14.14+Distrib+5.1.62+for+Debian-Linux-GNU%3Cbr%3E%3Cbr%3E'
   14    29        ECHO                                                     '%3Ctable+border%3D1+align%3D%22left%22%3E%3Ctr%3E%3Ctd+align%3D%22center%22%3E%0A'
   16    30        CONCAT                                           ~17     'SSH+Credentials%3A%3Cbr%3Eusername%3A+root%3A%3Cbr%3Epassword%3A+%3Cb%3E', !5
         31        CONCAT                                           ~18     ~17, '%3C%2Fb%3E'
         32        ECHO                                                     ~18
   18    33        ECHO                                                     '%3C%2Ftd%3E%0A%3Ctd+align%3D%22center%22%3E%0A'
   21    34        ECHO                                                     'MySql+Credentials%3A%3Cbr%3Eusername%3A+root%3A%3Cbr%3Epassword%3A+%3Cb%3E12346%3C%2Fb%3E'
   23    35        ECHO                                                     '%3C%2Ftd%3E%0A%3Ctd+align%3D%22center%22%3E%0A'
   26    36        ECHO                                                     'WordPress+Credentials%3A%3Cbr%3Eusername%3A+admin%3A%3Cbr%3Epassword%3A+%3Cb%3EIhax1337stuff%3C%2Fb%3E'
   28    37        ECHO                                                     '%3C%2Ftd%3E%0A%3C%2Ftr%3E%3C%2Ftable%3E%0A'
   31    38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
125.77 ms | 1403 KiB | 13 Q