Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 640 Bytes
// Student ID : SLAE64-1611
// Student Name : Jonathan "Chops" Crosby
// Assignment 4 : Shell Code Test File
// File Name : shellcode.c
//compile with: gcc shellcode.c -o shellcode -fno-stack-protector -z execstack -no-pie
unsigned char code[] = \
printf("Shellcode Length: %zu\n", strlen(code));
int (*ret)() = (int(*)())code;
You can’t perform that action at this time.