New commit. Added also NetworkShells.
This commit is contained in:
17
x86_64/Example_Code/skeleton.c
Normal file
17
x86_64/Example_Code/skeleton.c
Normal file
@@ -0,0 +1,17 @@
|
||||
/* shellcode-lab 64Bit
|
||||
dash@hack4.org
|
||||
|
||||
use -z execstack
|
||||
or set char code to const
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
unsigned char code[] ="shellcode wants to be placed here!";
|
||||
main()
|
||||
{
|
||||
printf("Shellcode Len: %d\n", (int)strlen(code));
|
||||
int (*ret)() = (int(*)())code;
|
||||
ret();
|
||||
}
|
||||
Reference in New Issue
Block a user