Commit | Line | Data |
---|---|---|
21c4e167 H |
1 | #include <stdio.h> |
2 | ||
3 | void shellcode() { | |
4 | //Enter code here | |
5 | char lol[]="fdsjkgfdskhgjdshgjdshkgdhskjghdsjkghdskhj\n"; | |
6 | system("ls"); | |
7 | } | |
8 | ||
9 | int main() { | |
10 | //printf("Shellcode size: %d bytes\n", sizeof(&shellcode)); | |
11 | int i; | |
12 | for(i=0; i<=256; i++) putchar((char *)(shellcode+i)); | |
13 | shellcode(); | |
14 | } |