고졸백수해킹일기

pwntools shellcraft 사용법 본문

Pwnable

pwntools shellcraft 사용법

ExploitSori 2018. 3. 15. 01:22

32bit

http://docs.pwntools.com/en/stable/shellcraft/i386.html


64bit

http://docs.pwntools.com/en/stable/shellcraft/amd64.html



근데 여기 문서에서는 shellcraft.i386.linux.read( ) 이렇게 적어놨는데

python 코드 맨 윗줄에

context(arch='i386', os='linux') #<< 이거 넣어주면 줄여서 쓸수 있다.

shellcraft.read() << 이렇게


'Pwnable' 카테고리의 다른 글

ARM exploit  (0) 2020.09.12
pdb symbol 수동으로 다운  (0) 2020.08.14
defcon2017 smashme (exploit only)  (0) 2018.03.28
codegate2014 nuclear  (0) 2018.03.09
codegate2018 BaskinRobins31  (0) 2018.03.06