Question: I'm trying to defuse a binary bomb and I'm stuck in phase 4. I know I have a resursive method to debug to be able

I'm trying to defuse a binary bomb and I'm stuck in phase 4. I know I have a resursive method to debug to be able to solve the phase and I know my input in %d %d. thats about all i can figure out for this phase. someone please help me debugg this. thanks

I'm trying to defuse a binary bomb and I'm stuck in phase

1 19 Breakpoint 1, 0x0000000000401030 in phase_4 () [(gdb) disas Dump of assembler code for function phase_4: sub lea lea mov mov callq cmp jne $0x18 , %rsp 0xc(%rsp),%rcx 0x8(%rsp),%rdx $0x4027bd,%esi $0x8,%eax 0x400c10 <__isoc99_sscanfoplt> $0x2,%eax 0x40105e 8x0000000000401030 : 0x0000000000401034 : 0x0000000000401039 : 0x000000000040103e : 0x0000000000401043 : 0x0000000000401048 : 0x000000000040104d : 0x0000000000401050 : 8x0000000000401052 : mov 0xc(%rsp),%eax 0x0000000000401056 : 0x0000000000401059 : cmp $0x2,%eax 0x000000000040105c : 0x000000000040105e : 0x0000000000401063 : mov 0xc(%rsp),%esi 0x0000000000401067 8x000000000040106c : 0x800000000040107|: 0x0000000000401077 : 0x000000000040107c : 0x0000000000401080 : sub $0x2,%eax jbe callq 0x401574 0x401063 $0x5,%edi 0x400ff8 mov callq 0x40107c callq 0x401574 add $0x18,%rsp retq End of assembler dump. (gdb) 1 19 Breakpoint 1, 0x0000000000401030 in phase_4 () [(gdb) disas Dump of assembler code for function phase_4: sub lea lea mov mov callq cmp jne $0x18 , %rsp 0xc(%rsp),%rcx 0x8(%rsp),%rdx $0x4027bd,%esi $0x8,%eax 0x400c10 <__isoc99_sscanfoplt> $0x2,%eax 0x40105e 8x0000000000401030 : 0x0000000000401034 : 0x0000000000401039 : 0x000000000040103e : 0x0000000000401043 : 0x0000000000401048 : 0x000000000040104d : 0x0000000000401050 : 8x0000000000401052 : mov 0xc(%rsp),%eax 0x0000000000401056 : 0x0000000000401059 : cmp $0x2,%eax 0x000000000040105c : 0x000000000040105e : 0x0000000000401063 : mov 0xc(%rsp),%esi 0x0000000000401067 8x000000000040106c : 0x800000000040107|: 0x0000000000401077 : 0x000000000040107c : 0x0000000000401080 : sub $0x2,%eax jbe callq 0x401574 0x401063 $0x5,%edi 0x400ff8 mov callq 0x40107c callq 0x401574 add $0x18,%rsp retq End of assembler dump. (gdb)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!