Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Quick and dirty "shellcode testing loop */
- /* Just insert shellcode, compile, and boom! */
- /* Should run on damn near anything... */
- /* Dont have a windows box ATM to test on, */
- /* but it works in linux */
- char shellcode[] = "shellcode goes here"
- "and here";
- int main()
- {
- int *ret;
- ret = (int *)&ret + 2;
- (*ret) = (int)shellcode;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement