python3 http.server
2021. 9. 29. 16:11ㆍ?
# zzre@DESKTOP-BFP8LJ4:~/test$ python3 -m http.server 12312
import requests
from pwn import *
# requests
log.info("requests")
res = requests.get("http://0.0.0.0:12312/integer/test1.c")
print(res.text)
# nc
log.info("nc")
r = remote("localhost", 12312)
r.send("""GET /integer/test2.c HTTP/1.1
""".replace("\n", "\r\n").encode())
context.log_level = 'debug'
r.interactive()
'?' 카테고리의 다른 글
The minCompileSdk (31) specified in a dependency's AAR metadata (0) | 2021.11.20 |
---|---|
android 11 모든 파일 접근 (0) | 2021.11.19 |
android studio 디버그 (0) | 2021.09.24 |
부동소수점 (0) | 2021.08.14 |
docker 실행 (0) | 2021.06.23 |