usage:
from pwn import *
context(arch = 'i386', os = 'linux')
r = remote('exploitme.example.com', 31337)
# EXPLOIT CODE GOES HERE
r.send(asm(shellcraft.sh()))
r.interactive()
도큐먼트
Our documentation is available at pwntools.readthedocs.org
To get you started, we've provided some example solutions for past CTF challenges in our write-ups repository.
설치방법
$ pip install pwn
ctf할때 유용하게 사용할 수 있는 툴입니다.
python 2.7버전을 권장합니다.
'Language > python' 카테고리의 다른 글
| [python]딕셔너리 형태의 문자열을 딕셔너리로 형변환 (0) | 2017.06.04 |
|---|---|
| python에서 bash 명령 (0) | 2017.05.24 |
| selenium 라이브러리를 이용한 Facebook automation tool (0) | 2016.07.23 |
| Python String maketrans() Method (0) | 2016.07.19 |
| 파이썬으로 웹 브라우저 실행하기 (0) | 2016.07.10 |