02.Basic & Change permissions Shellcode
* Basic Shellcode ("/bin/sh") [C language] Create execve /bin/sh shellcode 1. Check system call number : execve 2. Assembly code 3. Build & Run * Change permissions shellcode (seteuid + "/bin/sh") [C language] 1. Check system call number : setresuid 2. Assembly code 3. Build & Run - Shellcode에 추가된 "setresuid(0,0,0)" 코드에 의해 프로세스의 uid가 root로 복구되었다. - Basic Shellcode execve("/bin//sh",["/bin//sh",N..
Pwnable Exploitation/01.Shellcode
2020. 5. 4. 11:32