wr1:
var_c = 2
for var_10 in range(2, 0x14):
var_c *= var_10
expected_input = var_c
print("Expected input:", expected_input)
wr2:
before patch:
CMP dword ptr [RBP + local_c],EAX
JNZ LAB_001011c0
after patch:
CMP dword ptr [RBP + local_c],EAX
JZ LAB_001011c0
|
==> |
Solution 1:
cmp eax, eax (perfect patching)
Solution 2:
if (data_40437c == 0x247679)
edx = "Nice! ;)"
From hex: 2389625
|
==> |
flag{M3x1c4nMl4lw4r3_pl3rro} |
==> |