Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/DGME5 function name: (null) number of ops: 62 compiled vars: !0 = $RANDOM_SALT, !1 = $USERS line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > INIT_FCALL 'rand' 1 DO_ICALL $2 2 ASSIGN !0, $2 10 3 INIT_FCALL 'saltedhash' 4 SEND_VAL 'password1' 5 DO_FCALL 0 $4 6 INIT_ARRAY ~5 $4, 'user1' 11 7 INIT_FCALL 'saltedhash' 8 SEND_VAL 'hunter2' 9 DO_FCALL 0 $6 10 ADD_ARRAY_ELEMENT ~5 $6, 'user2' 12 11 INIT_FCALL 'saltedhash' 12 SEND_VAL 'fN.4A_zKEe%5D33p%21' 13 DO_FCALL 0 $7 14 ADD_ARRAY_ELEMENT ~5 $7, 'user3' 13 15 INIT_FCALL 'saltedhash' 16 SEND_VAL 'xXgjan3a58qzX3' 17 DO_FCALL 0 $8 18 ADD_ARRAY_ELEMENT ~5 $8, 'user4' 9 19 ASSIGN !1, ~5 32 20 INIT_FCALL 'checklogin' 21 SEND_VAL 'user1' 22 SEND_VAL 'phplol' 23 DO_FCALL 0 33 24 INIT_FCALL 'checklogin' 25 SEND_VAL 'user1' 26 SEND_VAL 'password1' 27 DO_FCALL 0 34 28 ECHO '%0A' 36 29 INIT_FCALL 'checklogin' 30 SEND_VAL 'user2' 31 SEND_VAL 'phplol' 32 DO_FCALL 0 37 33 INIT_FCALL 'checklogin' 34 SEND_VAL 'user2' 35 SEND_VAL 'hunter2' 36 DO_FCALL 0 38 37 ECHO '%0A' 40 38 INIT_FCALL 'checklogin' 39 SEND_VAL 'user3' 40 SEND_VAL 'phplol' 41 DO_FCALL 0 41 42 INIT_FCALL 'checklogin' 43 SEND_VAL 'user3' 44 SEND_VAL 'FN4A_zKEe%5D33p%21' 45 DO_FCALL 0 42 46 ECHO '%0A' 44 47 INIT_FCALL 'checklogin' 48 SEND_VAL 'user4' 49 SEND_VAL 'phplol' 50 DO_FCALL 0 45 51 INIT_FCALL 'checklogin' 52 SEND_VAL 'user4' 53 SEND_VAL 'xXgjan3a58qzX3' 54 DO_FCALL 0 46 55 ECHO '%0A' 48 56 ECHO 'Now+let%27s+get+funky%21' 50 57 INIT_FCALL 'checklogin' 58 SEND_VAL 'user3' 59 SEND_VAL 'password1' 60 DO_FCALL 0 61 > RETURN 1 Function saltedhash: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/DGME5 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/DGME5 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