Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am working on an assignment called bomb lab for my computer class where we have to look through assembly language code and find the
I am working on an assignment called bomb lab for my computer class where we have to look through assembly language code and find the passwords. I've been stuck on phase 2 for several days now and I have no idea what to do. I have to find 6 integers in the right order to pass this phase. Can someone please walk me through how to solve this?
For help, type "help" Type "apropos word" to search for commands related to "word"... Reading symbols from ./bomb...done. (gdb) r pu.txt Starting program: fsdirs/home4/home4/ugrad4/hthan/bomb pu.txt Welcome to my fiendish little bomb. You have 6 phases with which to blow yourself up. Have a nice day! Phase 1 defused. How about the next one? 1 2 3 4 5 6 B00M!!! The bomb has blown up. Your instructor has been notified. [Inferior 1 (process 23814) exited with code 010] (gdb) break phase_2 Breakpoint 1 at 0x400edf (gdb) run pu.txt Starting program: fsdirs/home4/home4/ugrad4/hthan/bomb pu.txt Welcome to my fiendish little bomb. You have 6 phases with which to blow yourself up. Have a nice day! Phase 1 defused. How about the next one? 1 2 3 4 5 6 Breakpoint 1, 0x0000000000400edf in phase 2 () (gdb) disas Dump of assembler code for function phase_2: > 0x0000000000400edf : push %rbp push %rbx 0x0000000000400ee0 0x0000000000400ee5 0x0000000000400ee8 : 0x0000000000400eed jg 0x0000000000400ef3 : 0x0000000000400ef8 jmp0x400f17Step 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