Skip to content

Lab11#2

Open
andreimmihai wants to merge 4 commits into
masterfrom
lab11
Open

Lab11#2
andreimmihai wants to merge 4 commits into
masterfrom
lab11

Conversation

@andreimmihai

Copy link
Copy Markdown
Owner

No description provided.

Signed-off-by: Andrei-Claudiu Mihai <andreiimmihai@gmail.com>
- Changed the limit from cmp ecx,64 to cmp, 80 so the local variable
bytes and other stack date that come after the buffer to be displayed
- Used mov byte [ebx+64], 0xEF ... mov byte [ebx+67], 0xDE to write each
byte of the value 0xDEADBEEF at the address of the local variable

Signed-off-by: Andrei-Claudiu Mihai <andreiimmihai@gmail.com>
- Created a payload to exploit the buffer overflow vulnerability

Signed-off-by: Andrei-Claudiu Mihai <andreiimmihai@gmail.com>
- Updated buffer read to use fgets()
- Ensured buffer overflow still functions

Signed-off-by: Andrei-Claudiu Mihai <andreiimmihai@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant