Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- char shellcode[]="0x31\0xc0\0x50\0x68\0x6e\0x2f\0x73\0x68\0x68\0x2f\0x2f\0x62\0x69\0x89\0xe3\0x31\0xd2\0x52\0x53\0x89\0xe1\0xb0\0x0b\0xcd\0x80";
- int main(int argc, char *argv[]){
- int (*run)();
- run = shellcode;
- run();
- }
- //errores shell.c: In function ‘main’:
- //shell.c:9: warning: assignment from incompatible pointer type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement