buffer-overflow

ret2libc attack MOVAPS segfault

ret2libc attack MOVAPS segfault Question: I am trying to exploit a ret2libc vulnerable code in my own machine. Here is the source code. #include <unistd.h> #include <stdio.h> #include <string.h> #include <stdlib.h> void vuln(char *input); int main(int argc, char **argv) { if (argc > 1){ vuln(argv[1]); }; return 0; } void vuln(char *input){ char buffer[256]; memcpy(buffer, …

Total answers: 1