Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::SET google+ related domains to static IP address
- ::AIM at breaking the evil shameless GFW censorship
- ::USAGE save content in a .cmd file, and execute it
- ::NOTE domains and IPs may vary with locations
- ::NOTE administrator privilege may be required to run this script
- ::
- ::DATE 2011-7-21
- ::TESTED with Win7 Enterprise 64-bit
- ::
- ::Good luck.
- @set hosts_f=%windir%\system32\drivers\etc\hosts
- @set ip=203.208.46.29
- @set lines=16
- @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
- @for %%i in (%domains%) do @echo %ip% %%i >> %hosts_f%
- @ipconfig /flushdns
- @pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement