Jump to content

Ienavigate proxy


Recommended Posts

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

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 by Fire
[size="5"] [/size]
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...