What is the purpose of using hex escape sequences when writing buffer overflow exploits?

Published: 12/06/2019
What is the purpose of using hex escape sequences when writing buffer overflow exploits?
Source: SECURITY.STACKEXCHANGE.COM

I was trying to overwrite fp function pointer to 0x8048424 ( win() location) so that function win() will be called to solve this problem(machine is little endian) #include <stdlib.h> #include <unistd.h> #include <stdio.h> #include <string.h> void win() { printf("code flow successfully changed\n"); } int main(int argc, char **argv) { volatile int (*fp)(); char buffer[64];

Read more
Related news
Comment
FACEBOOK