quarqo Posted July 13, 2011 Share Posted July 13, 2011 Hi all, i need some help at Autoit. How can i set-up an proxy for internet navigation. Let's say I have this code : $oIE=_IECreateEmbedded() $site=GUICtrlCreateObj($oIE, 150, 28, 640, 600) _IENavigate($oIE, "exemplesite.com"); You know that will create an object frame same as an browser. But i want to navigate using an proxy ip. Do you know how can i solve this ? Thanks, Quarqo. Link to comment Share on other sites More sharing options...
Exit Posted July 13, 2011 Share Posted July 13, 2011 HttpSetProxy() App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
quarqo Posted July 13, 2011 Author Share Posted July 13, 2011 It doesn't work for me. It use same default ip. Link to comment Share on other sites More sharing options...
Fire Posted July 13, 2011 Share Posted July 13, 2011 (edited) Hi.Check it out:Especially: #include <IE.au3> regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\","ProxyEnable","REG_DWORD","1") regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\","ProxyServer","REG_SZ","localhost:8118") sleep(5000) $so=_IECreate("http://www.wieistmeineip.de")where localhost : 8118 listened by TOR. Edited July 13, 2011 by Fire [size="5"] [/size] Link to comment Share on other sites More sharing options...
quarqo Posted July 13, 2011 Author Share Posted July 13, 2011 Thank you for help Fire. it works well. I have 1 more question: how can i reset to default ip after i finish the surfing. ? Link to comment Share on other sites More sharing options...
Fire Posted July 13, 2011 Share Posted July 13, 2011 You are Welcome dude. For undo all changes just execute: #include <IE.au3> regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\","ProxyEnable","REG_DWORD","0") regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\","ProxyServer","REG_SZ","130.88.203.27:3124") exit and then exit your script. [size="5"] [/size] 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