针对目前国内互联网的一些不正当管制,我整理了一个批处理,这个方法修改了计算机%SystemRoot%\system32\drivers\etc\的hosts文件。会有用,但不一定绝对管用。
方法:新建一个记事本,将下面的橙色内容复制到记事本,另存为 a.bat,双击 a.bat运行即可。
@echo off
echo 米拉之落搜集整理。
echo 我的博客:http://bewho.us/
echo 正在应用hosts文件设置,请稍后......
@attrib %windir%\SYSTEM32\drivers\etc\hosts -r
@echo ------ 突破Youtube屏蔽 ------ >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 youtube.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 www.youtube.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.33.100 gdata.youtube.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.91.118 upload.youtube.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.93.102 insight.youtube.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 64.233.161.104 help.youtube.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo ------ 突破Google屏蔽 ------ >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.45.100 google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 64.233.161.147 www.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 66.102.1.103 www.l.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 66.102.1.83 mail.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 72.14.247.111 pop.gmail.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.93.111 smtp.gmail.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 64.233.169.17 googlemail.l.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.93.101 books.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.113.101 docs.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.113.101 spreadsheets.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.93.99 news.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.91.136 picasaweb.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 64.233.161.147 map.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.93.136 khm.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 64.233.161.190 mt0.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 64.233.161.136 mt1.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 209.85.225.136 mt2.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 64.233.161.93 mt.l.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 64.233.161.104 maps.l.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.113.147 scholar.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.93.102 groups.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.91.113 groups.l.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.93.102 id.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 74.125.93.102 id.l.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo ------ 突破Wikipedia屏蔽 ------ >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 208.80.152.2 wikipedia.org >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 208.80.152.2 www.wikipedia.org >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 208.80.152.2 en.wikipedia.org >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 208.80.152.2 zh.wikipedia.org >> %windir%\SYSTEM32\drivers\etc\hosts
@echo ------ 突破Twitter屏蔽 ------ >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 168.143.162.68 twitter.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 128.121.146.228 twitter.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 128.121.146.100 www.twitter.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 168.143.162.101 assets1.twitter.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 168.143.162.101 static.twitter.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 168.143.162.101 assets0.twitter.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 168.143.162.101 assets2.twitter.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 168.143.162.101 assets3.twitter.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 168.143.162.101 assets4.twitter.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo ------ 突破Picasa Web Albums外链屏蔽 ------ >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 picadaweb.google.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh1.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh2.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh3.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh4.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh5.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
@echo 203.208.39.104 lh6.ggpht.com >> %windir%\SYSTEM32\drivers\etc\hosts
echo hosts文件应用设置执行完毕。谢谢使用。
echo. & pause
附《阿哥们是孽障的人》歌词:
出门(者)遇上了大黄风,闪花的草帽儿落圈
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是孽障的人
阿哥们适哈地太寒酸(西北方言,意思是生在寒酸的家庭),这么价活人是可怜
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是孽障的人
又背了沙子又背了土,又背了大石头了
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是出门去的人
又受了孽障又受了苦,还受了旁人的气了
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是出门去的人
一身的脂肉儿苦干了,压弯了脊梁骨了
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是离乡的人
拿着的干粮吃完了,出门人孽障死了
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是离乡的人
没风没雨的三伏天,脊背上晒下的肉卷
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是孽障的人
一年三百六十天,肚子里没饱过一天
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是孽障的人
丢下个尕妹了走金场,颇烦时把“少年”漫上
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是孽障的人
白日黑夜我把尕妹想,啊一年能回个家乡
绯红花儿你听,你的大哥哥们走哩,肝花妹妹坐吆,阿哥们是孽障的人
update:7月20日更新突破Picasa Web Albums外链屏蔽批处理部分