SSL based HTTP Proxy Server in Vb6
Hello again,
I am creating one project in which i need to create a Proxy server. I'v searched and found few working example on Pscode. But there's nothing related to SSL Proxy server. At last I came to know about Chilkat ActiveX Socket which can support SSL. But I am getting difficulty about using it in Vb6.
Hence here anyone of you how to use Chilkat SSL Socket to create a web Proxy Server OR already have any working example related to the topic, please share...
I am also trying to get more & more information about it..
Thanks
Regards,
1 Attachment(s)
Re: SSL based HTTP Proxy Server in Vb6
Code:
Private Sub Command1_Click()
Text3.Text = ""
Text4.Text = ""
SSLSocket1.CloseSSL
SSLSocket1.RemoteHost = "na.edit.yahoo.com"
SSLSocket1.ConnectSSL
End Sub
Code:
Private Sub SSLSocket1_SSLConnect()
Dim Yahoo As String, login As String
'
login = "your login packet or any packet am sure you know what to do" & vbCrLf
'Yahoo = "GET /registration?" & " HTTP/1.1" & vbCrLf
Yahoo = "POST /registration" & " HTTP/1.1" & vbCrLf
Yahoo = Yahoo & "Accept-Language: en-us" & vbCrLf
Yahoo = Yahoo & "User-Agent: Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; aggass)" & vbCrLf
Yahoo = Yahoo & "Accept: */*" & vbCrLf
Yahoo = Yahoo & "Host: na.edit.yahoo.com" & vbCrLf
Yahoo = Yahoo & "Connection: Keep-Alive" & vbCrLf & vbCrLf
Yahoo = Yahoo & "Content-Length: " & Len(login) & vbCrLf & vbCrLf & login
SSLSocket1.SendSSL Yahoo
End Sub
Code:
Private Sub SSLSocket1_SSLData(sData As String)
'SSLSocket1.SendSSL sData
Text4.Text = Text4.Text & sData
Debug.Print sData
End Sub
download firefox live http sniffer grab your packets !!!!!!:wave:
Re: SSL based HTTP Proxy Server in Vb6
Hello ladoo,
That's gr8 thanks it will surely be helpful to me.. But this socket do not have Listening Property.. So how can I use it to create a HTTP Proxy Server? Do you have any example about it?
Thanks again
regards,
Re: SSL based HTTP Proxy Server in Vb6
i had this socket ssl for some time used it many time , and never used it for server wise , if you look at codebank you will find so many examples , client and server connections , i am not sure if this is gone work but load up a normal socket or ssocket and get the listen code out of that and put it in ssl control , give it a try:p
Re: SSL based HTTP Proxy Server in Vb6
Haha That's a Cool idea ladoo.. Thanks :bigyello:
Re: SSL based HTTP Proxy Server in Vb6
Chilkat has a forum here: http://www.chilkatforum.com
You may be more likely to get answers specific to their products there.
Re: SSL based HTTP Proxy Server in Vb6
but this is paid,trial useless , but works , rather not use trials att all waste your programming time