Delete 一键修改hosts.bat

This commit is contained in:
Mashiro 2020-10-10 01:04:59 +08:00 committed by GitHub
parent d52796603b
commit c3d514e93c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,107 +0,0 @@
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
@echo. >>C:\Windows\System32\Drivers\etc\hosts
@echo # 以下Hosts内容来自Pixiv-Nginx项目https://github.com/mashirozx/Pixiv-Nginx >>C:\Windows\System32\Drivers\etc\hosts
@echo # Hosts start. >>C:\Windows\System32\Drivers\etc\hosts
@echo # www.google.com域名仅用于登陆验证 >>C:\Windows\System32\Drivers\etc\hosts
@echo # 如果你不需要这个功能,请把下一行删掉 >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 www.google.com >>C:\Windows\System32\Drivers\etc\hosts
@echo # Pixiv Start >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 www.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 ssl.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 accounts.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 touch.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 oauth.secure.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 dic.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 en-dic.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 sketch.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 payment.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 factory.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 comic.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 novel.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 imgaz.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 sensei.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 fanbox.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 source.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 i1.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 i2.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 i3.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 i4.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls1.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls2.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls3.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls4.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls5.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls6.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls7.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls8.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls9.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls10.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls11.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls12.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls13.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls14.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls15.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls16.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls17.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls18.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls19.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hls20.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa1.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa2.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa3.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa4.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa5.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa6.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa7.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa8.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa10.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa11.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa12.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa13.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa14.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa15.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa16.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa17.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa18.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsa19.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsc1.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsc2.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsc3.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsc4.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsc5.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlsc6.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlse1.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlse2.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlse3.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlse4.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlse5.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlse6.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlse7.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlse8.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlse9.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 hlst1.pixivsketch.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 i.pximg.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 210.140.131.220 app-api.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 13.226.113.16 g-client-proxy.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 210.140.131.159 d.pixiv.org >>C:\Windows\System32\Drivers\etc\hosts
@echo 210.140.92.140 pixiv.pximg.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 210.140.92.139 s.pximg.net >>C:\Windows\System32\Drivers\etc\hosts
@echo 210.140.131.246 api.booth.pm >>C:\Windows\System32\Drivers\etc\hosts
@echo 210.140.131.220 myaccount.pixiv.net >>C:\Windows\System32\Drivers\etc\hosts
@echo # Wikipedia Start >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 en.wikipedia.org >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 zh.wikipedia.org #中文维基百科桌面版 >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 en.m.wikipedia.org >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 zh.m.wikipedia.org >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 zh-yue.wikipedia.org #粤文维基百科桌面版 >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 wuu.wikipedia.org #吴语维基百科桌面版 >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 ug.wikipedia.org #维吾尔文维基百科桌面版 >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 ja.wikipedia.org #日文维基百科桌面版 >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 zh.wikinews.org #中文维基新闻桌面版 >>C:\Windows\System32\Drivers\etc\hosts
@echo # Steam >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 store.steampowered.com >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 steamcommunity.com >>C:\Windows\System32\Drivers\etc\hosts
@echo # Archive of our own >>C:\Windows\System32\Drivers\etc\hosts
@echo 127.0.0.1 archiveofourown.org >>C:\Windows\System32\Drivers\etc\hosts
@echo # Hosts end. >>C:\Windows\System32\Drivers\etc\hosts