Question: Debug your program in gdb . The following questions may be of interest 1 . What are all the functions in the provided file? And

Debug your program in gdb. The following questions may be of interest
1. What are all the functions in the provided file? And how are they connected?
2. What is the assembly code for each fiunction?
a. What potentially does this function do? Is it of interest? b
. Are there any potential arrays/buffers? Are there any local variables? Where are they in the stack/heap? If there is an array/buffer, what can potentially be its size?
Note: If there is a strepy () function, the local buffer address is generally specified by the lea (load effective address) command a couple of lines above stropy()
c. Is there any compor jmp/jle/jge in the code? What are they trying to do and where are they leading to?
d. What is an estimate of the function's saved ebp and return address"
3. Based on step 2. what is the potential format of the exploit string

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 Programming Questions!