Jump to content

Ping and proxy question


darkyr
 Share

Recommended Posts

My question is when i ping google do i ping it through the proxy or from my ip...

Dim $aRecords2
If Not _FileReadToArray("proxy.txt",$aRecords2) Then
   MsgBox(4096,"Error", " Error reading log to Array     error:" & @error)
   Exit
EndIf
 
$y=1
$no=0
while $no=0
$y=$y+1
$proxy=$aRecords2[$y]
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", $proxy)
    If Ping("www.google.com",250)<>0 then
        MsgBox(0, $proxy, $proxy)
        $no=1
    EndIf
WEnd
 
$oIE = _IECreate("http://www.whatsmyip.org")
Edited by darkyr
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...