Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ::SET     google+ related domains to static IP address
  2. ::AIM     at breaking the evil shameless GFW censorship
  3. ::USAGE   save content in a .cmd file, and execute it
  4. ::NOTE    domains and IPs may vary with locations
  5. ::NOTE    administrator privilege may be required to run this script
  6. ::
  7. ::DATE    2011-7-21
  8. ::TESTED  with Win7 Enterprise 64-bit
  9. ::
  10. ::Good luck.
  11.  
  12. @set hosts_f=%windir%\system32\drivers\etc\hosts
  13. @set ip=203.208.46.29
  14. @set lines=16
  15. @set domains=plus.google.com plus.google.com.hk talkgadget.google.com picasaweb.google.com lh1.ggpht.com lh2.ggpht.com lh3.ggpht.com lh4.ggpht.com lh5.ggpht.com lh6.ggpht.com lh6.googleusercontent.com lh5.googleusercontent.com lh4.googleusercontent.com lh3.googleusercontent.com lh2.googleusercontent.com lh1.googleusercontent.com
  16.  
  17. @for %%i in (%domains%) do @echo %ip% %%i >> %hosts_f%
  18.  
  19. @ipconfig /flushdns
  20. @pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement