Question
How can I find the 6 number password from this assembly code? 0x0000000000400dd0 : push %rbp 0x0000000000400dd1 : push %rbx 0x0000000000400dd2 : sub $0x28,%rsp 0x0000000000400dd6
How can I find the 6 number password from this assembly code?
0x0000000000400dd0 <+0>: push %rbp
0x0000000000400dd1 <+1>: push %rbx
0x0000000000400dd2 <+2>: sub $0x28,%rsp
0x0000000000400dd6 <+6>: mov %rsp,%rsi
0x0000000000400dd9 <+9>: callq 0x40139c
0x0000000000400dde <+14>: cmpl $0x1,(%rsp)
0x0000000000400de2 <+18>: jne 0x400ded
0x0000000000400de4 <+20>: mov %rsp,%rbx
0x0000000000400de7 <+23>: lea 0x14(%rbx),%rbp
0x0000000000400deb <+27>: jmp 0x400e02
0x0000000000400ded <+29>: callq 0x40137a
0x0000000000400df2 <+34>: jmp 0x400de4
0x0000000000400df4 <+36>: callq 0x40137a
0x0000000000400df9 <+41>: add $0x4,%rbx
0x0000000000400dfd <+45>: cmp %rbp,%rbx
0x0000000000400e00 <+48>: je 0x400e0d
0x0000000000400e02 <+50>: mov (%rbx),%eax
0x0000000000400e04 <+52>: add %eax,%eax
0x0000000000400e06 <+54>: cmp %eax,0x4(%rbx)
0x0000000000400e09 <+57>: je 0x400df9
0x0000000000400e0b <+59>: jmp 0x400df4
0x0000000000400e0d <+61>: add $0x28,%rsp
0x0000000000400e11 <+65>: pop %rbx
0x0000000000400e12 <+66>: pop %rbp
0x0000000000400e13 <+67>: retq
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started