All Questions
1 question
2
votes
1
answer
1k
views
ret2libc attack doesn't spawn shell
I performed ret2libc.Everything worked fine but the shell is not spawned.The source code is
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void get()
{
char buf[10];
...