Sodori Posted August 22, 2014 Share Posted August 22, 2014 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 However, as you may tell, it's disobedient. Do someone know how to make it obey me? Link to comment Share on other sites More sharing options...
spudw2k Posted August 22, 2014 Share Posted August 22, 2014 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? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
MikahS Posted August 22, 2014 Share Posted August 22, 2014 (edited) 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 August 22, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy 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 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