Question: I am having a very tough time solving phase 4 of my binary bomb and was looking for help. I have figured out that the

I am having a very tough time solving phase 4 of my binary bomb and was looking for help. I have figured out that the expected input is supposed to be 2 integers, but from there i am lost. Here is my code for both phase_4 and func4

Here is phase_4

I am having a very tough time solving phase 4 of my

And here is func4

binary bomb and was looking for help. I have figured out that

Dump of assembler code for function phase_4: sub $0x18,%rsp nov 0x00000000004010bc : %fs :0x28,Krax xor mov lea %eax, %eax %rsp,%rcx 0x4(%rsp),%rdx 8x00000000004010cf : 0x00000000004010d4 : mov $0x4029cd,esi 0x00000000004010d9 callq 0x400c40isoc99_sscanf@plt> 8x00000000004010e1 6x00000000004010e3 : : jne mov 0x4010ee (Krsp),%eax jbe callq 0x4016ee mov mov callq 0x40107d je callq 0x4016ee explode_bomb 8x00000000004010ec : 0x4010f3 (Krsp),Sest $6x8,%edi 6x00000000004010f359s: 0x80000000004010f6: 0x00000000004010fb 6x0000000000401100 %fs:0x28,Krax 0x0000000000401110 : 0x0000000000401119 je x401120 0x000000000040111b :callq 0x400b90 stack chk failaplt> 0x0000000000401120 : add $0x18,%rsp 0x0000000000401124 : retq xor Dump of assembler code for function phase_4: sub $0x18,%rsp nov 0x00000000004010bc : %fs :0x28,Krax xor mov lea %eax, %eax %rsp,%rcx 0x4(%rsp),%rdx 8x00000000004010cf : 0x00000000004010d4 : mov $0x4029cd,esi 0x00000000004010d9 callq 0x400c40isoc99_sscanf@plt> 8x00000000004010e1 6x00000000004010e3 : : jne mov 0x4010ee (Krsp),%eax jbe callq 0x4016ee mov mov callq 0x40107d je callq 0x4016ee explode_bomb 8x00000000004010ec : 0x4010f3 (Krsp),Sest $6x8,%edi 6x00000000004010f359s: 0x80000000004010f6: 0x00000000004010fb 6x0000000000401100 %fs:0x28,Krax 0x0000000000401110 : 0x0000000000401119 je x401120 0x000000000040111b :callq 0x400b90 stack chk failaplt> 0x0000000000401120 : add $0x18,%rsp 0x0000000000401124 : retq xor

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!