Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/Y9aPg function name: (null) number of ops: 68 compiled vars: !0 = $RANDOM_SALT, !1 = $USERS line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > ASSIGN !0, 0 10 1 INIT_FCALL 'saltedhash' 2 SEND_VAL 'password1' 3 DO_FCALL 0 $3 4 INIT_ARRAY ~4 $3, 'user1' 11 5 INIT_FCALL 'saltedhash' 6 SEND_VAL 'hunter2' 7 DO_FCALL 0 $5 8 ADD_ARRAY_ELEMENT ~4 $5, 'user2' 12 9 INIT_FCALL 'saltedhash' 10 SEND_VAL 'fN.4A_zKEe%5D33p%21' 11 DO_FCALL 0 $6 12 ADD_ARRAY_ELEMENT ~4 $6, 'user3' 13 13 INIT_FCALL 'saltedhash' 14 SEND_VAL 'xXgjan3a58qzX3' 15 DO_FCALL 0 $7 16 ADD_ARRAY_ELEMENT ~4 $7, 'user4' 9 17 ASSIGN !1, ~4 32 18 INIT_FCALL 'checklogin' 19 SEND_VAL 'user1' 20 SEND_VAL 'phplol' 21 DO_FCALL 0 33 22 INIT_FCALL 'checklogin' 23 SEND_VAL 'user1' 24 SEND_VAL 'password1' 25 DO_FCALL 0 34 26 ECHO '%0A' 36 27 INIT_FCALL 'checklogin' 28 SEND_VAL 'user2' 29 SEND_VAL 'phplol' 30 DO_FCALL 0 37 31 INIT_FCALL 'checklogin' 32 SEND_VAL 'user2' 33 SEND_VAL 'hunter2' 34 DO_FCALL 0 38 35 ECHO '%0A' 40 36 INIT_FCALL 'checklogin' 37 SEND_VAL 'user3' 38 SEND_VAL 'phplol' 39 DO_FCALL 0 41 40 INIT_FCALL 'checklogin' 41 SEND_VAL 'user3' 42 SEND_VAL 'FN4A_zKEe%5D33p%21' 43 DO_FCALL 0 42 44 ECHO '%0A' 44 45 INIT_FCALL 'checklogin' 46 SEND_VAL 'user4' 47 SEND_VAL 'phplol' 48 DO_FCALL 0 45 49 INIT_FCALL 'checklogin' 50 SEND_VAL 'user4' 51 SEND_VAL 'xXgjan3a58qzX3' 52 DO_FCALL 0 46 53 ECHO '%0A' 48 54 ECHO 'Now+let%27s+get+funky%21' 50 55 INIT_FCALL 'checklogin' 56 SEND_VAL 'user3' 57 SEND_VAL 'password1' 58 DO_FCALL 0 51 59 INIT_FCALL 'checklogin' 60 SEND_VAL 'user3' 61 SEND_VAL 'fN.4A_zKEe%5D33p%21' 62 DO_FCALL 0 52 63 INIT_FCALL 'checklogin' 64 SEND_VAL 'user3' 65 SEND_VAL 'fN.4A_zKEe%5D33p%21' 66 DO_FCALL 0 67 > RETURN 1 Function saltedhash: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/Y9aPg function name: saltedHash number of ops: 9 compiled vars: !0 = $pass, !1 = $RANDOM_SALT line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 4 0 E > RECV !0 5 1 BIND_GLOBAL !1, 'RANDOM_SALT' 6 2 INIT_FCALL 'hash' 3 SEND_VAL 'sha512' 4 SEND_VAR !0 5 DO_ICALL $2 6 ADD ~3 $2, !1 7 > RETURN ~3 7 8* > RETURN null End of function saltedhash Function checklogin: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25 Branch analysis from position: 23 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: 25 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/Y9aPg function name: checkLogIn number of ops: 27 compiled vars: !0 = $username, !1 = $password, !2 = $USERS, !3 = $hashedPassword, !4 = $expectedPassword line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 16 0 E > RECV !0 1 RECV !1 17 2 BIND_GLOBAL !2, 'USERS' 18 3 INIT_FCALL 'saltedhash' 4 SEND_VAR !1 5 DO_FCALL 0 $5 6 ASSIGN !3, $5 19 7 FETCH_DIM_R ~7 !2, !0 8 ASSIGN !4, ~7 20 9 ROPE_INIT 5 ~10 '++H%3A+' 10 ROPE_ADD 1 ~10 ~10, !3 11 ROPE_ADD 2 ~10 ~10, '%0A++E%3A+' 12 ROPE_ADD 3 ~10 ~10, !4 13 ROPE_END 4 ~9 ~10, '%0A' 14 ECHO ~9 22 15 ROPE_INIT 5 ~14 'User+%27' 16 ROPE_ADD 1 ~14 ~14, !0 17 ROPE_ADD 2 ~14 ~14, '%27+has+password+%27' 18 ROPE_ADD 3 ~14 ~14, !1 19 ROPE_END 4 ~13 ~14, '%27%3F+' 20 ECHO ~13 23 21 IS_IDENTICAL !3, !4 22 > JMPZ ~17, ->25 24 23 > ECHO 'yes%0A' 24 > JMP ->26 26 25 > ECHO 'no%0A' 28 26 > > RETURN null End of function checklogin
Generated using Vulcan Logic Dumper, using php 8.0.0