Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/BjHli function name: (null) number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 75 0 E > INIT_FCALL 'test' 1 DO_FCALL 0 76 2 > RETURN 1 Function pbkdf2: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 10 Branch analysis from position: 8 2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13 Branch analysis from position: 11 1 jumps found. (Code = 42) Position 1 = 57 Branch analysis from position: 57 2 jumps found. (Code = 44) Position 1 = 59, Position 2 = 28 Branch analysis from position: 59 2 jumps found. (Code = 43) Position 1 = 60, Position 2 = 67 Branch analysis from position: 60 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 67 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 28 1 jumps found. (Code = 42) Position 1 = 53 Branch analysis from position: 53 2 jumps found. (Code = 44) Position 1 = 55, Position 2 = 44 Branch analysis from position: 55 2 jumps found. (Code = 44) Position 1 = 59, Position 2 = 28 Branch analysis from position: 59 Branch analysis from position: 28 Branch analysis from position: 44 2 jumps found. (Code = 44) Position 1 = 55, Position 2 = 44 Branch analysis from position: 55 Branch analysis from position: 44 Branch analysis from position: 13 Branch analysis from position: 10 filename: /in/BjHli function name: pbkdf2 number of ops: 77 compiled vars: !0 = $algorithm, !1 = $password, !2 = $salt, !3 = $count, !4 = $key_length, !5 = $raw_output, !6 = $hash_length, !7 = $block_count, !8 = $output, !9 = $i, !10 = $last, !11 = $xorsum, !12 = $j line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 2 0 E > RECV_INIT !0 'sha512' 1 RECV !1 2 RECV !2 3 RECV_INIT !3 2048 4 RECV_INIT !4 512 5 RECV_INIT !5 <false> 4 6 IS_SMALLER_OR_EQUAL ~13 !3, 0 7 > JMPNZ_EX ~13 ~13, ->10 8 > IS_SMALLER_OR_EQUAL ~14 !4, 0 9 BOOL ~13 ~14 10 > > JMPZ ~13, ->13 5 11 > ASSIGN !3, 2048 6 12 ASSIGN !4, 512 9 13 > INIT_FCALL 'hash' 14 SEND_VAR !0 15 SEND_VAL '' 16 SEND_VAL <true> 17 DO_ICALL $17 18 STRLEN ~18 $17 19 ASSIGN !6, ~18 10 20 INIT_FCALL 'ceil' 21 DIV ~20 !4, !6 22 SEND_VAL ~20 23 DO_ICALL $21 24 ASSIGN !7, $21 12 25 ASSIGN !8, '' 13 26 ASSIGN !9, 1 27 > JMP ->57 14 28 > INIT_FCALL 'pack' 29 SEND_VAL 'N' 30 SEND_VAR !9 31 DO_ICALL $25 32 CONCAT ~26 !2, $25 33 ASSIGN !10, ~26 15 34 INIT_FCALL 'hash_hmac' 35 SEND_VAR !0 36 SEND_VAR !10 37 SEND_VAR !1 38 SEND_VAL <true> 39 DO_ICALL $28 40 ASSIGN ~29 !11, $28 41 ASSIGN !10, ~29 16 42 ASSIGN !12, 1 43 > JMP ->53 17 44 > INIT_FCALL 'hash_hmac' 45 SEND_VAR !0 46 SEND_VAR !10 47 SEND_VAR !1 48 SEND_VAL <true> 49 DO_ICALL $32 50 ASSIGN ~33 !10, $32 51 ASSIGN_OP 11 !11, ~33 16 52 PRE_INC !12 53 > IS_SMALLER !12, !3 54 > JMPNZ ~36, ->44 19 55 > ASSIGN_OP 8 !8, !11 13 56 PRE_INC !9 57 > IS_SMALLER_OR_EQUAL !9, !7 58 > JMPNZ ~39, ->28 22 59 > > JMPZ !5, ->67 23 60 > INIT_FCALL 'substr' 61 SEND_VAR !8 62 SEND_VAL 0 63 SEND_VAR !4 64 DO_ICALL $40 65 > RETURN $40 66* JMP ->76 25 67 > INIT_FCALL 'bin2hex' 68 INIT_FCALL 'substr' 69 SEND_VAR !8 70 SEND_VAL 0 71 SEND_VAR !4 72 DO_ICALL $41 73 SEND_VAR $41 74 DO_ICALL $42 75 > RETURN $42 27 76* > RETURN null End of function pbkdf2 Function generate_salt: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/BjHli function name: generate_salt number of ops: 13 compiled vars: !0 = $random line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 30 0 E > INIT_FCALL 'file_get_contents' 1 SEND_VAL '%2Fdev%2Furandom' 2 SEND_VAL <false> 3 SEND_VAL null 4 SEND_VAL 0 5 SEND_VAL 256 6 DO_ICALL $1 7 ASSIGN !0, $1 31 8 INIT_FCALL 'bin2hex' 9 SEND_VAR !0 10 DO_ICALL $3 11 > RETURN $3 32 12* > RETURN null End of function generate_salt Function get_hash: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 8 Branch analysis from position: 5 2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10 Branch analysis from position: 9 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 10 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 16 Branch analysis from position: 13 2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 42 Branch analysis from position: 22 1 jumps found. (Code = 42) Position 1 = 61 Branch analysis from position: 61 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 42 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 16 Branch analysis from position: 8 filename: /in/BjHli function name: get_hash number of ops: 63 compiled vars: !0 = $plain_text, !1 = $salt, !2 = $iterations, !3 = $hash line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 34 0 E > RECV !0 1 RECV !1 36 2 ISSET_ISEMPTY_CV ~4 !0 3 BOOL_NOT ~5 ~4 4 > JMPNZ_EX ~5 ~5, ->8 5 > ISSET_ISEMPTY_CV ~6 !1 6 BOOL_NOT ~7 ~6 7 BOOL ~5 ~7 8 > > JMPZ ~5, ->10 37 9 > > RETURN <false> 40 10 > GET_TYPE ~8 !1 11 IS_EQUAL ~8, 'string' 12 > JMPZ ~9, ->16 41 13 > INIT_ARRAY ~10 !1 14 ADD_ARRAY_ELEMENT ~10 !1 15 ASSIGN !1, ~10 44 16 > ASSIGN !2, 1024 45 17 INIT_FCALL 'function_exists' 18 SEND_VAL 'hash_pbkdf2' 19 DO_ICALL $13 20 BOOL_NOT ~14 $13 21 > JMPZ ~14, ->42 46 22 > INIT_FCALL 'pbkdf2' 23 SEND_VAL 'whirlpool' 24 SEND_VAR !0 25 FETCH_DIM_R ~15 !1, 0 26 SEND_VAL ~15 27 SEND_VAR !2 28 SEND_VAL 512 29 SEND_VAL <true> 30 DO_FCALL 0 $16 31 ASSIGN !3, $16 47 32 INIT_FCALL 'pbkdf2' 33 SEND_VAL 'sha512' 34 SEND_VAR !3 35 FETCH_DIM_R ~18 !1, 1 36 SEND_VAL ~18 37 SEND_VAR !2 38 SEND_VAL 512 39 DO_FCALL 0 $19 40 ASSIGN !3, $19 41 > JMP ->61 49 42 > INIT_FCALL 'hash_pbkdf2' 43 SEND_VAL 'whirlpool' 44 SEND_VAR !0 45 FETCH_DIM_R ~21 !1, 0 46 SEND_VAL ~21 47 SEND_VAR !2 48 SEND_VAL 512 49 SEND_VAL <true> 50 DO_ICALL $22 51 ASSIGN !3, $22 50 52 INIT_FCALL 'hash_pbkdf2' 53 SEND_VAL 'sha512' 54 SEND_VAR !3 55 FETCH_DIM_R ~24 !1, 1 56 SEND_VAL ~24 57 SEND_VAR !2 58 SEND_VAL 512 59 DO_ICALL $25 60 ASSIGN !3, $25 52 61 > > RETURN !3 53 62* > RETURN null End of function get_hash Function test: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/BjHli function name: test number of ops: 25 compiled vars: !0 = $salt, !1 = $plain_text, !2 = $time, !3 = $result line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 57 0 E > INIT_FCALL 'generate_salt' 1 DO_FCALL 0 $4 2 INIT_ARRAY ~5 $4, 0 58 3 INIT_FCALL 'generate_salt' 4 DO_FCALL 0 $6 5 ADD_ARRAY_ELEMENT ~5 $6, 1 56 6 ASSIGN !0, ~5 61 7 ASSIGN !0, <array> 65 8 ASSIGN !1, 'mysupersecurepassword' 67 9 ECHO 'start+%0A' 68 10 INIT_FCALL 'time' 11 DO_ICALL $10 12 ASSIGN !2, $10 69 13 INIT_FCALL 'get_hash' 14 SEND_VAR !1 15 SEND_VAR !0 16 DO_FCALL 0 $12 17 ASSIGN !3, $12 70 18 ECHO !3 72 19 INIT_FCALL 'time' 20 DO_ICALL $14 21 SUB ~15 $14, !2 22 CONCAT ~16 '%0Atime%3A+', ~15 23 ECHO ~16 73 24 > RETURN null End of function test
Generated using Vulcan Logic Dumper, using php 8.0.0