Advertisement
Guest User

test

a guest
Nov 26th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.47 KB | None | 0 0
  1. Func CheckProxy($ThisIP)
  2.  
  3.     _FileReadToArray ( "C:\Adminmap\Proxy.txt" )
  4.     $ProxyArray = FileReadToArray ( "C:\Adminmap\Proxy.txt" )
  5.     $PROXYIDX = -1
  6.     For $_i = 0 To UBound($ProxyArray) -1
  7.         If StringInStr($ProxyArray[$_i],@TAB & $ThisIP & @TAB) Then
  8.             $_found = $_i
  9.             ExitLoop
  10.         EndIf
  11.     Next
  12.  
  13.     If $PROXYIDX = -1 Then
  14.         $VPN = _Inetgetsource.......
  15.         ......
  16.         ....
  17.         .....
  18.         ....
  19.     Else
  20.         $TMPPROXY = StringSplit........
  21.         ......
  22.     EndIf
  23.    
  24.     Return $VPN
  25.    
  26. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement