What address are you using to overwrite the return address


Problem: Buffer Overflow

Exploit the vulnerable program (vulnerable.c) to obtain a shell. The vulnerable program and sample exploit (you need to edit the exploit to make it work) are in the Assignments folder which in turn is in the Documents folder in the TritonApps lab environment. Provide commands and the screenshots of the outputs to illustrate your exploit.

Answer the following questions related to the exploit:

• Which function and statement in the program is the major cause of the vulnerability? Why?

• What address are you using to overwrite the return address? How did you obtain this address?

• Draw a figure of the overflow string that leads to a successful buffer overflow attack and a shell. The figure should highlight the important addresses and contents.

• What offset worked for your exploit? How did you find the offset?

The response must include a reference list. Using one-inch margins, double-space, Times New Roman 12 pnt font and APA style of writing and citations.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: What address are you using to overwrite the return address
Reference No:- TGS03091014

Expected delivery within 24 Hours