New commit. Added also NetworkShells.
This commit is contained in:
15
x86_32/0x1_SycallBasics/Example_Code/skeleton_oldstyle.c
Normal file
15
x86_32/0x1_SycallBasics/Example_Code/skeleton_oldstyle.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
char shellcode[] = "";
|
||||
|
||||
int main(void)
|
||||
{
|
||||
int *ret;
|
||||
|
||||
printf("%d\n",strlen(shellcode));
|
||||
ret = (int *)&ret+2;
|
||||
*ret = (int)shellcode;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user