본문 바로가기
[ ★ ]Study/CTF

CTF remote environment(socat)

by nroses-taek 2019. 12. 4.
반응형

-one-time-

socat tcp-l:[port],reuseaddr,fork EXEC:[file]

 

-infinite-

while true; do socat tcp-l:[port],reuseaddr EXEC:[file]; sleep 1; done

 

ex) socat tcp-l:1234,reuseaddr,fok EXEC:./test_file

반응형

'[ ★ ]Study > CTF' 카테고리의 다른 글

TUCTF2019 leakalicious writeup  (0) 2019.12.07
Pwntools 설치(install)  (0) 2019.04.03
X-MAS 2018 Greetings from Santa  (0) 2019.01.01
TUCTF2018 Shella_Easy(pwn)  (0) 2018.12.15
TUCTF2018 - ehh  (0) 2018.12.15

댓글