This commit is contained in:
Daniel Ashton
2016-05-30 09:06:47 +02:00
commit cc0cee84ff
27 changed files with 555 additions and 0 deletions

View 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();
}