Question: What string would pass for phase 4 of binary bomb? 0x0000000000401038 : sub $0x18,%rsp 0x000000000040103c : lea 0xc(%rsp),%rcx 0x0000000000401041 : lea 0x8(%rsp),%rdx 0x0000000000401046 : mov
What string would pass for phase 4 of binary bomb?
0x0000000000401038 <+0>: sub $0x18,%rsp
0x000000000040103c <+4>: lea 0xc(%rsp),%rcx
0x0000000000401041 <+9>: lea 0x8(%rsp),%rdx
0x0000000000401046 <+14>: mov $0x4027ed,%esi
0x000000000040104b <+19>: mov $0x0,%eax
0x0000000000401050 <+24>: callq 0x400c10 <__isoc99_sscanf@plt>
0x0000000000401055 <+29>: cmp $0x2,%eax
0x0000000000401058 <+32>: jne 0x401066
0x000000000040105a <+34>: mov 0xc(%rsp),%eax
0x000000000040105e <+38>: sub $0x2,%eax
0x0000000000401061 <+41>: cmp $0x2,%eax
0x0000000000401064 <+44>: jbe 0x40106b
0x0000000000401066 <+46>: callq 0x401574
0x000000000040106b <+51>: mov 0xc(%rsp),%esi
0x000000000040106f <+55>: mov $0x5,%edi
0x0000000000401074 <+60>: callq 0x401000
0x0000000000401079 <+65>: cmp 0x8(%rsp),%eax
0x000000000040107d <+69>: je 0x401084
0x000000000040107f <+71>: callq 0x401574
0x0000000000401084 <+76>: add $0x18,%rsp
0x0000000000401088 <+80>: retq
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
