Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assembly x86 Binary Bomb Phase 3 What is the input, given this dump? Dump of assembler code for function phase_3: => 0x0000000000400fb5 : sub $0x18,%rsp

Assembly x86 Binary Bomb Phase 3

What is the input, given this dump?

Dump of assembler code for function phase_3:

=> 0x0000000000400fb5 <+0>: sub $0x18,%rsp

0x0000000000400fb9 <+4>: mov %fs:0x28,%rax

0x0000000000400fc2 <+13>: mov %rax,0x8(%rsp)

0x0000000000400fc7 <+18>: xor %eax,%eax

0x0000000000400fc9 <+20>: lea 0x4(%rsp),%rcx

0x0000000000400fce <+25>: mov %rsp,%rdx

0x0000000000400fd1 <+28>: mov $0x402935,%esi

0x0000000000400fd6 <+33>: callq 0x400c40 <__isoc99_sscanf@plt>

0x0000000000400fdb <+38>: cmp $0x1,%eax

0x0000000000400fde <+41>: jg 0x400fe5

0x0000000000400fe0 <+43>: callq 0x401690

0x0000000000400fe5 <+48>: cmpl $0x7,(%rsp)

0x0000000000400fe9 <+52>: ja 0x401026

0x0000000000400feb <+54>: mov (%rsp),%eax

0x0000000000400fee <+57>: jmpq *0x402670(,%rax,8)

0x0000000000400ff5 <+64>: mov $0x395,%eax

0x0000000000400ffa <+69>: jmp 0x401037

0x0000000000400ffc <+71>: mov $0x258,%eax

0x0000000000401001 <+76>: jmp 0x401037

0x0000000000401003 <+78>: mov $0x307,%eax

0x0000000000401008 <+83>: jmp 0x401037

0x000000000040100a <+85>: mov $0x14a,%eax

0x000000000040100f <+90>: jmp 0x401037

0x0000000000401011 <+92>: mov $0x2ed,%eax

0x0000000000401016 <+97>: jmp 0x401037

0x0000000000401018 <+99>: mov $0x3df,%eax

0x000000000040101d <+104>: jmp 0x401037

0x000000000040101f <+106>: mov $0xf7,%eax

0x0000000000401024 <+111>: jmp 0x401037

0x0000000000401026 <+113>: callq 0x401690

0x000000000040102b <+118>: mov $0x0,%eax

0x0000000000401030 <+123>: jmp 0x401037

0x0000000000401032 <+125>: mov $0xc5,%eax

0x0000000000401037 <+130>: cmp 0x4(%rsp),%eax

0x000000000040103b <+134>: je 0x401042

0x000000000040103d <+136>: callq 0x401690

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions