D
dage111
Unregistered / Unconfirmed
GUEST, unregistred user!
我通过Socks发送数据来得到目标页面
str:=('GET http://www.xxx.com/ HTTP/1.1')+#13#10;
str:=str+('Accept: */*')+#13#10;
str:=str+('Accept-Language: zh-cn')+#13#10;
str:=str+('Accept-Encoding: gzip, deflate')+#13#10;
str:=str+('User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)')+#13#10;
str:=str+('Host: www.xxx.com')+#13#10;
str:=str+('Proxy-Connection: Keep-Alive')+#13#10;
str:=str+#13#10;
这样写是可以获得
http://www.xxx.com/的数据的,但是如何获得某一页面的数据呢?
str:=('GET http://www.xxx.com/abc.asp HTTP/1.1')+#13#10;
这样写无法获得 abc.asp的数据
到底如何才能获得abc.asp的数据呢?
str:=('GET http://www.xxx.com/ HTTP/1.1')+#13#10;
str:=str+('Accept: */*')+#13#10;
str:=str+('Accept-Language: zh-cn')+#13#10;
str:=str+('Accept-Encoding: gzip, deflate')+#13#10;
str:=str+('User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)')+#13#10;
str:=str+('Host: www.xxx.com')+#13#10;
str:=str+('Proxy-Connection: Keep-Alive')+#13#10;
str:=str+#13#10;
这样写是可以获得
http://www.xxx.com/的数据的,但是如何获得某一页面的数据呢?
str:=('GET http://www.xxx.com/abc.asp HTTP/1.1')+#13#10;
这样写无法获得 abc.asp的数据
到底如何才能获得abc.asp的数据呢?