i'm sorry because this is off topic but someone know the telnet comand for get a page with proxy? i want create a program who support proxy but i don't know how it work. tank you
i'm sorry because this is off topic but someone know the telnet comand for get a page with proxy? i want create a program who support proxy but i don't know how it work. tank you
At first, sorry, i have a bad english.
This is a head that you can use in a app.
This code have to finnish with CRLF + CRLF.
GET [url]http://www.domain.com[/url] HTTP/*.*
Host: proxy.com
Connection: close
Accept: */*
For example, in a VB file using winsock control, you can put:
Dim a as string
a="GET [url]http://www.domain.com[/url] HTTP/*.*" & vbCrLf & "Host: proxy.com" & vbCrLf & "Connection: close" & vbCrLf & "Accept: */*" & vbCrLf & & vbCrLf
winsck*.SendData a
The response is:
HTTP/*.0 200 OK
Date: Mon, *7 May 2004 00:50:** GMT
P*P: policyref="http://www.domain.com/xxx/xxx.", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"
Cache-Control: private
Vary: User-Agent
Content-Type: text/html
X-Cache: MISS from proxy.com
Proxy-Connection: close
The response finish with CRLF + CRLF
I don't know if i have u helped.
Bye.
<p align="center">
<img src="http://www.danasoft.com/vipersig.jpg">
</p>
Last edited by jbarbera2; 05-16-2004 at 09:16 PM.
[url=http://jb.es.kz]JB.es.kz[/url]
[url=http://foro-jb.es.kz]Foro-JB.es.kz[/url]
it is what i want know, but when i test this the proxy send messages :
HTTP/*.* 400 Bad Request
Server: Microsoft-IIS/5.0
Date: Mon, *7 May 2004 20:2*:24 GMT
Connection: close
Content-Type: text/html
Content-Length: 87
<html><head><title>Error</title></head><body>The parameter is incorrect. </body></html>
help me plz
ps. i've changed proxy.com whit proxy's ip or host and [url]www.domain.com[/url] with page who i want see. i've another problem: when i get the page i dont'n know how visualize it in the form. what command i can use???
HiOriginally posted by Unregistered
.................... i want create a program who support proxy but i don't know how it work. tank you
Before trying to create a program [url=http://fever.resourcez.com/tmp/TM.zip]like this one[/url] to handle proxy's, I would strongly recommend to start with a lower scale understanding "sockets", "streams", "TCPclient & TCPservers"..
For this, you need to acquire some fine books that you could find [url=http://www.amazon.com/exec/obidos/external-search/*04-527*86*-5**5*4*?tag=opera-20&index=blended&keyword=TCP+books]here[/url] or elsewhere..
In addition to that, try to stick with C/C++, this will give a great deal of flexibility while maintaining the highest level of reliability.
[url=http://fever.resourcez.com]fEǚ.法Er[/url]
i've connected explorer at my computer how proxy (*27.0.0.* prt *0) then i've listen the *0 and thi is the 2 result:
GET [url]http://www.manowar.it/[/url] HTTP/*.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: it
Cookie: phpbb2mysql_data=s%*A0%*A%22%22%*B
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.*)
Host: [url]www.manowar.it[/url]
Proxy-Connection: Keep-Alive
GET [url]http://www.google.it/[/url] HTTP/*.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: it
Cookie: PREF=ID=**fd**2f4*5bda56:LD=it:TM=*08**47*0*:LM=*08**47*0*:S=Ixq7ohucEpfqVtj5
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.*)
Host: [url]www.google.it[/url]
Proxy-Connection: Keep-Alive
BUT THEY DON'T GO (in really don't go explore covered by proxy)
an at last: excuse me for my englisch, but i'm Italian