Advertisement
GoodiesHQ

C File for Testing Shellcode

Jan 14th, 2014
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3. unsigned char * shellcode = "";
  4. int main(){
  5.         printf("Shellcode Length (Bytes): %d\n", strlen(shellcode));
  6.         ((void(*)(void))shellcode)();
  7.         return 0;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement