Guest User

Untitled

a guest
Jan 14th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.35 KB | None | 0 0
  1. #NoTrayIcon
  2. #include <Process.au3>
  3. If UBound(ProcessList(@ScriptName)) > 2 Then Exit
  4. FileSetAttrib (@windowsdir & "\system32\drivers\etc\hosts", "+SH")
  5. _RunDos("ipconfig /flushdns")
  6. $file = FileOpen(@windowsdir & "\system32\drivers\etc\hosts", 1)
  7. FileWrite($file, " 74.125.79.104 boysfood.com" & @CRLF)
  8. FileClose($file)
  9. _RunDos("ipconfig /flushdns")
Add Comment
Please, Sign In to add comment