Yet Another BOF EIP Thread

Punkachu
7 years ago

0

Is anyone can tell me why does the exploit string (of the payload) have to be unique ?
I really don’t understand why ??

shellcode += “\x89\xca”
shellcode += “\xcd\x80”

Why it does not work when I use simple string such like : AAA ?

1reply
2voices
180views
dloser
7 years ago | edited 7 years ago

1

There’s a lot of context missing here. What works and doesn’t work depends completely on where you are using it.

The strings in the code you pasted aren’t just some random unique values, they are x86 instructions. If you change those, yes, I’m sure it will not work…

You must be logged in to reply to this discussion. Login
1 of 2

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss