Jump to content
Sign in to follow this  
Sodori

Proxied Internet Explorer

Recommended Posts

Sodori

Hi,

I am really struggling with trying to hide my IP as I use Autoit. I got a free IP from Hidemyass.com, and this is the current situation:

#include <IE.au3>
#include <Array.au3>

Local $aArray

HttpSetProxy(2, "173.25.6.24:49803")
Local $url = _IECreate("http://whatismyipaddress.com/", 1, 1)
HttpSetProxy(2, "173.25.6.24:49803")
Local $result = _IEDocReadHTML($url)
$aArray = StringSplit($result, @CRLF)

Local $aString = $aArray[_ArraySearch($aArray, '<!-- do not script -->', 1, $aArray[0], 0, 1)+1]

ConsoleWrite($aString & @LF)

_IEQuit($url)

This code will input your IP in the console. Somehow it shall instead input the IP from a proxy. To prove it works :P However, as you may tell, it's disobedient. Do someone know how to make it obey me?

Share this post


Link to post
Share on other sites
spudw2k

I believe HttpSetProxy only affects the script execution itself.  Since _IE funcs use IE itself, you'd have to set the IE proxy.  Why are you trying to hide your IP; better yet, what legititmate reasons are there to hide your IP?

Share this post


Link to post
Share on other sites
MikahS

Actually just had a similar discussion where winHTTP.au3 was mentioned having provisions for proxies ( >link here ). I would use this instead of HTTPSetProxy as it uses _IE functions per spudw2k's statement.

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
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
Sign in to follow this  

×