Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 27 Branch analysis from position: 25 1 jumps found. (Code = 42) Position 1 = 28 Branch analysis from position: 28 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 27 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/k1VeV function name: (null) number of ops: 30 compiled vars: !0 = $plain_txt, !1 = $encrypted_txt, !2 = $decrypted_txt line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 27 0 E > ASSIGN !0, 'This+is+my+plain+text' 28 1 ROPE_INIT 3 ~5 'Plain+Text+%3D+' 2 ROPE_ADD 1 ~5 ~5, !0 3 ROPE_END 2 ~4 ~5, '%0A' 4 ECHO ~4 30 5 INIT_FCALL 'encrypt_decrypt' 6 SEND_VAL 'encrypt' 7 SEND_VAR !0 8 DO_FCALL 0 $7 9 ASSIGN !1, $7 31 10 ROPE_INIT 3 ~10 'Encrypted+Text+%3D+' 11 ROPE_ADD 1 ~10 ~10, !1 12 ROPE_END 2 ~9 ~10, '%0A' 13 ECHO ~9 33 14 INIT_FCALL 'encrypt_decrypt' 15 SEND_VAL 'decrypt' 16 SEND_VAR !1 17 DO_FCALL 0 $12 18 ASSIGN !2, $12 34 19 ROPE_INIT 3 ~15 'Decrypted+Text+%3D+' 20 ROPE_ADD 1 ~15 ~15, !2 21 ROPE_END 2 ~14 ~15, '%0A' 22 ECHO ~14 36 23 IS_IDENTICAL !0, !2 24 > JMPZ ~17, ->27 25 > ECHO 'SUCCESS' 26 > JMP ->28 37 27 > ECHO 'FAILED' 39 28 > ECHO '%0A' 29 > RETURN 1 Function encrypt_decrypt: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 36 Branch analysis from position: 23 1 jumps found. (Code = 42) Position 1 = 49 Branch analysis from position: 49 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 36 2 jumps found. (Code = 43) Position 1 = 38, Position 2 = 49 Branch analysis from position: 38 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 49 filename: /in/k1VeV function name: encrypt_decrypt number of ops: 51 compiled vars: !0 = $action, !1 = $string, !2 = $output, !3 = $encrypt_method, !4 = $secret_key, !5 = $secret_iv, !6 = $key, !7 = $iv line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > RECV !0 1 RECV !1 4 2 ASSIGN !2, <false> 6 3 ASSIGN !3, 'MCRYPT_MODE_CBC%2C' 7 4 ASSIGN !4, 'This+is+my+secret+key' 8 5 ASSIGN !5, 'This+is+my+secret+iv' 11 6 INIT_FCALL 'hash' 7 SEND_VAL 'sha256' 8 SEND_VAR !4 9 DO_ICALL $12 10 ASSIGN !6, $12 14 11 INIT_FCALL 'substr' 12 INIT_FCALL 'hash' 13 SEND_VAL 'sha256' 14 SEND_VAR !5 15 DO_ICALL $14 16 SEND_VAR $14 17 SEND_VAL 0 18 SEND_VAL 16 19 DO_ICALL $15 20 ASSIGN !7, $15 16 21 IS_EQUAL !0, 'encrypt' 22 > JMPZ ~17, ->36 17 23 > INIT_FCALL_BY_NAME 'mcrypt_encrypt' 24 SEND_VAR_EX !1 25 SEND_VAR_EX !3 26 SEND_VAR_EX !6 27 SEND_VAL_EX 0 28 SEND_VAR_EX !7 29 DO_FCALL 0 $18 30 ASSIGN !2, $18 18 31 INIT_FCALL 'base64_encode' 32 SEND_VAR !2 33 DO_ICALL $20 34 ASSIGN !2, $20 35 > JMP ->49 20 36 > IS_EQUAL !0, 'decrypt' 37 > JMPZ ~22, ->49 21 38 > INIT_FCALL_BY_NAME 'mcrypt_decrypt' 39 INIT_FCALL 'base64_decode' 40 SEND_VAR !1 41 DO_ICALL $23 42 SEND_VAR_NO_REF_EX $23 43 SEND_VAR_EX !3 44 SEND_VAR_EX !6 45 SEND_VAL_EX 0 46 SEND_VAR_EX !7 47 DO_FCALL 0 $24 48 ASSIGN !2, $24 24 49 > > RETURN !2 25 50* > RETURN null End of function encrypt_decrypt
Generated using Vulcan Logic Dumper, using php 8.0.0