MotionFlex Posted June 15, 2014 Share Posted June 15, 2014 Hi, Basically, what i would like to do is connect to a proxy switcher which is on the local host (127.0.0.1:PORT). Using that proxy I would connect to my destination. For example... $socket = Connect($IP, $Port) TCPSend($socket, "...") How would I add support for the proxy switcher? Just the theory should do. Thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted June 15, 2014 Developers Share Posted June 15, 2014 Have you tried by simply doing what you described? $socket = Connect("127.0.0.1", "The port for your proxy") TCPSend($socket, "...") Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
MotionFlex Posted June 15, 2014 Author Share Posted June 15, 2014 Have you tried by simply doing what you described? $socket = Connect("127.0.0.1", "The port for your proxy") TCPSend($socket, "...") Jos I see that would obviously be the first stage. The problem is how do I follow the packet to the destination which is 72.-.-.- on port 5555. I know if I was connecting to a website I could use the HTTP headers but I need to connect to a server directly after connecting to the proxy. Sorry for the bad explaination. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 15, 2014 Developers Share Posted June 15, 2014 Ok, so you want to specify the real target host's IP address and port, but want the request to go through a Proxy Server, like the InetGet() uses the HttpSetProxy() settings. Not sure how easy that is to program yourself. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
MotionFlex Posted June 15, 2014 Author Share Posted June 15, 2014 Ok, so you want to specify the real target host's IP address and port, but want the request to go through a Proxy Server, like the InetGet() uses the HttpSetProxy() settings. Not sure how easy that is to program yourself. Jos Yep, pretty much like how you are able to do it using a browser. Well...Now I have somewhere to start. Thanks anyways. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now