Is there an example program that illustrates how a buffer overflow attack actually executes arbitrary code?
paw @ paw @feddit.org Posts 0Comments 42Joined 1 yr. ago
paw @ paw @feddit.org
Posts
0
Comments
42
Joined
1 yr. ago
This is an old paper that it explains the basics: https://www.eecs.umich.edu/courses/eecs588/static/stack_smashing.pdf
Today there are a lot of mitigations where the steps of the paper don't work anymore, but the general ideas should be still valid. I'll hope you find the example you are looking for in there.
On another note: What is your intention? And can I participate 😈