Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/W0dRc function name: (null) number of ops: 99 compiled vars: !0 = $key, !1 = $text, !2 = $codeBook, !3 = $encrypted, !4 = $iv, !5 = $decrypted line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 145 0 E > ASSIGN !0, '%E7%A7%98%E5%AF%86%E3%81%AE%E9%8D%B5128b' 146 1 ASSIGN !1, '%E7%A7%98%E5%AF%86%E3%81%AE%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8' 150 2 NEW $8 'CodeBook' 3 DO_FCALL 0 4 ASSIGN !2, $8 151 5 INIT_METHOD_CALL !2, 'encrypt' 6 SEND_VAR_EX !0 7 SEND_VAR_EX !1 8 DO_FCALL 0 $11 9 FETCH_LIST_R $12 $11, 0 10 ASSIGN !3, $12 11 FETCH_LIST_R $14 $11, 1 12 ASSIGN !4, $14 13 FREE $11 152 14 INIT_METHOD_CALL !2, 'decrypt' 15 SEND_VAR_EX !0 16 SEND_VAR_EX !3 17 SEND_VAR_EX !4 18 DO_FCALL 0 $16 19 ASSIGN !5, $16 155 20 CONCAT ~18 !1, '+%3D%3E+' 21 CONCAT ~19 ~18, !3 22 CONCAT ~20 ~19, '+%3D%3E+' 23 CONCAT ~21 ~20, !5 24 ECHO ~21 156 25 ECHO '%3Cbr+%2F%3E' 157 26 INIT_FCALL 'var_dump' 27 IS_IDENTICAL ~22 !1, !5 28 SEND_VAL ~22 29 DO_ICALL $23 30 ECHO $23 159 31 ECHO '%3Chr+%2F%3E' 163 32 NEW $24 'CodeBook' 33 FETCH_CONSTANT ~25 'MCRYPT_RIJNDAEL_256' 34 SEND_VAL_EX ~25 35 FETCH_CONSTANT ~26 'MCRYPT_MODE_ECB' 36 SEND_VAL_EX ~26 37 SEND_VAL_EX '%00' 38 DO_FCALL 0 39 ASSIGN !2, $24 164 40 INIT_METHOD_CALL !2, 'encrypt' 41 SEND_VAR_EX !0 42 SEND_VAR_EX !1 43 DO_FCALL 0 $29 44 FETCH_LIST_R $30 $29, 0 45 ASSIGN !3, $30 46 FREE $29 165 47 INIT_METHOD_CALL !2, 'decrypt' 48 SEND_VAR_EX !0 49 SEND_VAR_EX !3 50 DO_FCALL 0 $32 51 ASSIGN !5, $32 168 52 CONCAT ~34 !1, '+%3D%3E+' 53 CONCAT ~35 ~34, !3 54 CONCAT ~36 ~35, '+%3D%3E+' 55 CONCAT ~37 ~36, !5 56 ECHO ~37 169 57 ECHO '%3Cbr+%2F%3E' 170 58 INIT_FCALL 'var_dump' 59 IS_IDENTICAL ~38 !1, !5 60 SEND_VAL ~38 61 DO_ICALL $39 62 ECHO $39 172 63 ECHO '%3Chr+%2F%3E' 176 64 NEW $40 'CodeBook' 65 FETCH_CONSTANT ~41 'MCRYPT_BLOWFISH' 66 SEND_VAL_EX ~41 67 FETCH_CONSTANT ~42 'MCRYPT_MODE_CBC' 68 SEND_VAL_EX ~42 69 SEND_VAL_EX '+' 70 DO_FCALL 0 71 ASSIGN !2, $40 177 72 INIT_METHOD_CALL !2, 'encrypt' 73 SEND_VAR_EX !0 74 SEND_VAR_EX !1 75 DO_FCALL 0 $45 76 FETCH_LIST_R $46 $45, 0 77 ASSIGN !3, $46 78 FETCH_LIST_R $48 $45, 1 79 ASSIGN !4, $48 80 FREE $45 178 81 INIT_METHOD_CALL !2, 'decrypt' 82 SEND_VAR_EX !0 83 SEND_VAR_EX !3 84 SEND_VAR_EX !4 85 DO_FCALL 0 $50 86 ASSIGN !5, $50 181 87 CONCAT ~52 !1, '+%3D%3E+' 88 CONCAT ~53 ~52, !3 89 CONCAT ~54 ~53, '+%3D%3E+' 90 CONCAT ~55 ~54, !5 91 ECHO ~55 182 92 ECHO '%3Cbr+%2F%3E' 183 93 INIT_FCALL 'var_dump' 94 IS_IDENTICAL ~56 !1, !5 95 SEND_VAL ~56 96 DO_ICALL $57 97 ECHO $57 98 > RETURN 1 Class CodeBook: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/W0dRc function name: __construct number of ops: 10 compiled vars: !0 = $cipher, !1 = $mode, !2 = $padding line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 23 0 E > RECV_INIT !0 <const ast> 1 RECV_INIT !1 <const ast> 2 RECV_INIT !2 <const ast> 24 3 ASSIGN_OBJ '_cipher' 4 OP_DATA !0 25 5 ASSIGN_OBJ '_mode' 6 OP_DATA !1 26 7 ASSIGN_OBJ '_padding' 8 OP_DATA !2 27 9 > RETURN null End of function __construct Function encrypt: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 11 Branch analysis from position: 8 2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 19 Branch analysis from position: 14 1 jumps found. (Code = 42) Position 1 = 26 Branch analysis from position: 26 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 19 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 11 filename: /in/W0dRc function name: encrypt number of ops: 48 compiled vars: !0 = $key, !1 = $encryptee, !2 = $iv, !3 = $bin line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 36 0 E > RECV !0 1 RECV !1 2 RECV_INIT !2 null 37 3 INIT_METHOD_CALL '_checkKeySize' 4 SEND_VAR_EX !0 5 DO_FCALL 0 39 6 BOOL_NOT ~5 !2 7 > JMPZ ~5, ->11 40 8 > INIT_METHOD_CALL '_getRandIv' 9 DO_FCALL 0 $6 10 ASSIGN !2, $6 43 11 > FETCH_OBJ_R ~8 '_padding' 12 IS_IDENTICAL ~8, 'PAD_PKCS5' 13 > JMPZ ~9, ->19 44 14 > INIT_METHOD_CALL 'padPkcs5' 15 SEND_VAR_EX !1 16 DO_FCALL 0 $10 17 ASSIGN !1, $10 18 > JMP ->26 46 19 > INIT_METHOD_CALL 'pad' 20 SEND_VAR_EX !1 21 CHECK_FUNC_ARG 22 FETCH_OBJ_FUNC_ARG $12 '_padding' 23 SEND_FUNC_ARG $12 24 DO_FCALL 0 $13 25 ASSIGN !1, $13 49 26 > INIT_FCALL_BY_NAME 'mcrypt_encrypt' 27 CHECK_FUNC_ARG 28 FETCH_OBJ_FUNC_ARG $15 '_cipher' 29 SEND_FUNC_ARG $15 30 SEND_VAR_EX !0 31 SEND_VAR_EX !1 32 CHECK_FUNC_ARG 33 FETCH_OBJ_FUNC_ARG $16 '_mode' 34 SEND_FUNC_ARG $16 35 SEND_VAR_EX !2 36 DO_FCALL 0 $17 37 ASSIGN !3, $17 50 38 INIT_FCALL 'bin2hex' 39 SEND_VAR !3 40 DO_ICALL $19 41 INIT_ARRAY ~20 $19 42 INIT_FCALL 'bin2hex' 43 SEND_VAR !2 44 DO_ICALL $21 45 ADD_ARRAY_ELEMENT ~20 $21 46 > RETURN ~20 51 47* > RETURN null End of function encrypt Function decrypt: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 16 Branch analysis from position: 11 1 jumps found. (Code = 42) Position 1 = 19 Branch analysis from position: 19 2 jumps found. (Code = 43) Position 1 = 34, Position 2 = 39 Branch analysis from position: 34 1 jumps found. (Code = 42) Position 1 = 45 Branch analysis from position: 45 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 39 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 16 2 jumps found. (Code = 43) Position 1 = 34, Position 2 = 39 Branch analysis from position: 34 Branch analysis from position: 39 filename: /in/W0dRc function name: decrypt number of ops: 47 compiled vars: !0 = $key, !1 = $encrypted, !2 = $iv, !3 = $bin, !4 = $decrypted line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 59 0 E > RECV !0 1 RECV !1 2 RECV_INIT !2 null 60 3 INIT_METHOD_CALL '_checkKeySize' 4 SEND_VAR_EX !0 5 DO_FCALL 0 61 6 INIT_METHOD_CALL 'hex2bin' 7 SEND_VAR_EX !1 8 DO_FCALL 0 $6 9 ASSIGN !3, $6 63 10 > JMPZ !2, ->16 64 11 > INIT_METHOD_CALL 'hex2bin' 12 SEND_VAR_EX !2 13 DO_FCALL 0 $8 14 ASSIGN !2, $8 15 > JMP ->19 66 16 > INIT_METHOD_CALL '_getRandIv' 17 DO_FCALL 0 $10 18 ASSIGN !2, $10 69 19 > INIT_FCALL_BY_NAME 'mcrypt_decrypt' 20 CHECK_FUNC_ARG 21 FETCH_OBJ_FUNC_ARG $12 '_cipher' 22 SEND_FUNC_ARG $12 23 SEND_VAR_EX !0 24 SEND_VAR_EX !3 25 CHECK_FUNC_ARG 26 FETCH_OBJ_FUNC_ARG $13 '_mode' 27 SEND_FUNC_ARG $13 28 SEND_VAR_EX !2 29 DO_FCALL 0 $14 30 ASSIGN !4, $14 71 31 FETCH_OBJ_R ~16 '_padding' 32 IS_IDENTICAL ~16, 'PAD_PKCS5' 33 > JMPZ ~17, ->39 72 34 > INIT_METHOD_CALL 'trimPkcs5' 35 SEND_VAR_EX !4 36 DO_FCALL 0 $18 37 ASSIGN !4, $18 38 > JMP ->45 74 39 > INIT_FCALL 'rtrim' 40 SEND_VAR !4 41 FETCH_OBJ_R ~20 '_padding' 42 SEND_VAL ~20 43 DO_ICALL $21 44 ASSIGN !4, $21 77 45 > > RETURN !4 78 46* > RETURN null End of function decrypt Function pad: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/W0dRc function name: pad number of ops: 18 compiled vars: !0 = $data, !1 = $padChar, !2 = $size line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 85 0 E > RECV !0 1 RECV !1 86 2 INIT_METHOD_CALL '_getBlockSize' 3 DO_FCALL 0 $3 4 ASSIGN !2, $3 87 5 INIT_FCALL 'str_pad' 6 SEND_VAR !0 7 INIT_FCALL 'ceil' 8 STRLEN ~5 !0 9 DIV ~6 ~5, !2 10 SEND_VAL ~6 11 DO_ICALL $7 12 MUL ~8 !2, $7 13 SEND_VAL ~8 14 SEND_VAR !1 15 DO_ICALL $9 16 > RETURN $9 88 17* > RETURN null End of function pad Function padpkcs5: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/W0dRc function name: padPkcs5 number of ops: 18 compiled vars: !0 = $data, !1 = $size, !2 = $padLen line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 94 0 E > RECV !0 95 1 INIT_METHOD_CALL '_getBlockSize' 2 DO_FCALL 0 $3 3 ASSIGN !1, $3 96 4 STRLEN ~5 !0 5 MOD ~6 ~5, !1 6 SUB ~7 !1, ~6 7 ASSIGN !2, ~7 97 8 INIT_FCALL 'str_repeat' 9 INIT_FCALL 'chr' 10 SEND_VAR !2 11 DO_ICALL $9 12 SEND_VAR $9 13 SEND_VAR !2 14 DO_ICALL $10 15 CONCAT ~11 !0, $10 16 > RETURN ~11 98 17* > RETURN null End of function padpkcs5 Function trimpkcs5: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/W0dRc function name: trimPkcs5 number of ops: 17 compiled vars: !0 = $data line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 104 0 E > RECV !0 105 1 INIT_FCALL 'substr' 2 SEND_VAR !0 3 SEND_VAL 0 4 INIT_FCALL 'ord' 5 INIT_FCALL 'substr' 6 SEND_VAR !0 7 SEND_VAL -1 8 SEND_VAL 1 9 DO_ICALL $1 10 SEND_VAR $1 11 DO_ICALL $2 12 MUL ~3 $2, -1 13 SEND_VAL ~3 14 DO_ICALL $4 15 > RETURN $4 106 16* > RETURN null End of function trimpkcs5 Function hex2bin: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/W0dRc function name: hex2bin number of ops: 7 compiled vars: !0 = $hex line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 112 0 E > RECV !0 113 1 INIT_FCALL 'pack' 2 SEND_VAL 'H%2A' 3 SEND_VAR !0 4 DO_ICALL $1 5 > RETURN $1 114 6* > RETURN null End of function hex2bin Function _checkkeysize: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 15 Branch analysis from position: 8 2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 23 Branch analysis from position: 16 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 23 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 filename: /in/W0dRc function name: _checkKeySize number of ops: 24 compiled vars: !0 = $key, !1 = $sizes line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 120 0 E > RECV !0 121 1 INIT_FCALL_BY_NAME 'mcrypt_module_get_supported_key_sizes' 2 CHECK_FUNC_ARG 3 FETCH_OBJ_FUNC_ARG $2 '_cipher' 4 SEND_FUNC_ARG $2 5 DO_FCALL 0 $3 6 ASSIGN !1, $3 124 7 > JMPZ_EX ~5 !1, ->15 8 > INIT_FCALL 'in_array' 9 STRLEN ~6 !0 10 SEND_VAL ~6 11 SEND_VAR !1 12 DO_ICALL $7 13 BOOL_NOT ~8 $7 14 BOOL ~5 ~8 15 > > JMPZ ~5, ->23 125 16 > NEW $9 'Exception' 17 ROPE_INIT 3 ~11 'Invalid+key+length+%28' 18 ROPE_ADD 1 ~11 ~11, !0 19 ROPE_END 2 ~10 ~11, '%29' 20 SEND_VAL_EX ~10 21 DO_FCALL 0 22 > THROW 0 $9 127 23 > > RETURN null End of function _checkkeysize Function _getrandiv: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/W0dRc function name: _getRandIv number of ops: 11 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 133 0 E > INIT_FCALL 'srand' 1 DO_ICALL 134 2 INIT_FCALL_BY_NAME 'mcrypt_create_iv' 3 INIT_METHOD_CALL '_getBlockSize' 4 DO_FCALL 0 $1 5 SEND_VAR_NO_REF_EX $1 6 FETCH_CONSTANT ~2 'MCRYPT_RAND' 7 SEND_VAL_EX ~2 8 DO_FCALL 0 $3 9 > RETURN $3 135 10* > RETURN null End of function _getrandiv Function _getblocksize: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/W0dRc function name: _getBlockSize number of ops: 10 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 141 0 E > INIT_FCALL_BY_NAME 'mcrypt_get_iv_size' 1 CHECK_FUNC_ARG 2 FETCH_OBJ_FUNC_ARG $0 '_cipher' 3 SEND_FUNC_ARG $0 4 CHECK_FUNC_ARG 5 FETCH_OBJ_FUNC_ARG $1 '_mode' 6 SEND_FUNC_ARG $1 7 DO_FCALL 0 $2 8 > RETURN $2 142 9* > RETURN null End of function _getblocksize End of class CodeBook.
Generated using Vulcan Logic Dumper, using php 8.0.0