7
votes
1answer
2k views

return to libc - problem

I'm having problems with return-to-libc exploit. The problem is that nothing happens, but no segmentation fault (and yes I'm actually overflowing the stack). This is my program: int main(int argc, ...
0
votes
2answers
225 views

linux how to patch this code

#include <WhatHere?> #include <WhatHere?> #include <WhatHere?> int main(int argc, char **argv) { char command[50] = "echo "; strcat(command,argv[1]); // concatenate the input ...