3v4l.org

run code in 300+ PHP versions simultaneously
<?php $methods = openssl_get_cipher_methods(); $res = "5c7Zms7hW3y4e4gOCOjzfg=="; $clefSecrete = "glop"; $decrypted = openssl_decrypt($res, $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>"; print "SSH Credentials:<br>username: root:<br>password: <b>" . $bla . "</b>"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jd1ta
function name:  (null)
number of ops:  33
compiled vars:  !0 = $methods, !1 = $res, !2 = $clefSecrete, !3 = $decrypted, !4 = $bla, !5 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'openssl_get_cipher_methods'
          1        DO_FCALL                                      0  $6      
          2        ASSIGN                                                   !0, $6
    4     3        ASSIGN                                                   !1, '5c7Zms7hW3y4e4gOCOjzfg%3D%3D'
    6     4        ASSIGN                                                   !2, 'glop'
    7     5        INIT_FCALL_BY_NAME                                       'openssl_decrypt'
          6        SEND_VAR_EX                                              !1
          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
    8    13        INIT_FCALL_BY_NAME                                       'openssl_decrypt'
         14        CHECK_FUNC_ARG                                           
         15        FETCH_DIM_FUNC_ARG                               $13     !5, '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                                                   !4, $15
    9    23        ECHO                                                     '%3Ch1%3ESecure+Password+Manager+v.0.9b%3C%2Fh1%3E'
   10    24        ECHO                                                     '%3Ca+href%3D%22index.php%3Flogout%22%3ELogout%3C%2Fa%3E'
   11    25        ECHO                                                     '%3Ch4%3ESystem+Information%3A%3C%2Fh4%3E'
   12    26        ECHO                                                     'Ubuntu+Linux+2.6.32-45-generic-pae%3Cbr%3E'
   13    27        ECHO                                                     'OpenSSH+5.3p1%3Cbr%3E'
   14    28        ECHO                                                     'MySql+Version+14.14+Distrib+5.1.62+for+Debian-Linux-GNU%3Cbr%3E%3Cbr%3E'
   15    29        CONCAT                                           ~17     'SSH+Credentials%3A%3Cbr%3Eusername%3A+root%3A%3Cbr%3Epassword%3A+%3Cb%3E', !4
         30        CONCAT                                           ~18     ~17, '%3C%2Fb%3E'
         31        ECHO                                                     ~18
   16    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.35 ms | 1395 KiB | 13 Q