Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 505 Bytes
// Student ID : SLAE64-1611
// Student Name : Jonathan "Chops" Crosby
// Assignment 6 : Shell Code Test File
// File Name : poweroff.c
//compile with: gcc poweroff.c -o poweroff -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.