批处理 自动添加HOSTS文件中Google加密服务器的IP地址
2011-11-21 12:22
609 查看
@echo -----------------------------------------------------
@echo 请如果你的浏览器以前没有访问过 Google.com in English
@echo 或者做过清理,那么你需要先访问一次www.google.com/ncr
@echo 然后才可以使用加密的 Google 进行搜索。
@echo -----------------------------------------------------
@pause
@echo.>>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn0.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn1.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn2.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn3.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn4.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn5.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn6.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn7.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn8.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn9.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted.google.com.hk >>%systemroot%\system32\drivers\etc\hosts
@echo 域名解析记录已经添加完毕
@echo
@echo.
@echo step2:下面将更新你的域名缓存,请关闭你的浏览器,IE/FIREFOX/遨游等……
@pause
@echo.
@echo 请确认浏览器已关闭!
@pause
@ipconfig /flushdns
@ipconfig /flushdns
@echo 域名解析缓存已更新
@echo HOSTS已经顺利执行完毕, 欢迎享受自由搜索!请直接按任意键退出!
@pause
@echo 请如果你的浏览器以前没有访问过 Google.com in English
@echo 或者做过清理,那么你需要先访问一次www.google.com/ncr
@echo 然后才可以使用加密的 Google 进行搜索。
@echo -----------------------------------------------------
@pause
@echo.>>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn0.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn1.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn2.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn3.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn4.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn5.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn6.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn7.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn8.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted-tbn9.google.com >>%systemroot%\system32\drivers\etc\hosts
@echo 203.208.46.148 encrypted.google.com.hk >>%systemroot%\system32\drivers\etc\hosts
@echo 域名解析记录已经添加完毕
@echo
@echo.
@echo step2:下面将更新你的域名缓存,请关闭你的浏览器,IE/FIREFOX/遨游等……
@pause
@echo.
@echo 请确认浏览器已关闭!
@pause
@ipconfig /flushdns
@ipconfig /flushdns
@echo 域名解析缓存已更新
@echo HOSTS已经顺利执行完毕, 欢迎享受自由搜索!请直接按任意键退出!
@pause
相关文章推荐
- ubuntu修改hosts文件 跳过DNS解析实现服务器定向登录(google,FB,TW等)
- java下载远程http地址的图片文件到本地-自动处理图片是否经过服务器gzip压缩的问题
- java下载远程http地址的图片文件到本地-自动处理图片是否经过服务器gzip压缩的问题
- centos下svn的主要常用命令(解决商城系统添加的文件无法自动更新至svn服务器)
- PHP实现抓取Google IP并自动修改hosts文件
- PHP实现抓取Google IP并自动修改hosts文件
- 获得服务器IP和主机名添加到hosts文件
- svn使用过程中使用post-commit自动同步如果服务器文件变化怎么处理
- 导出文件之前,在/etc/hosts中添加服务器ip
- 瑞星软件自动关闭,隐藏文件不见问题处理
- Android项目代码混淆(加密),添加混淆配置文件
- 学习笔记:zipfile的简单使用解压和压缩文件,以为处理加密的情况
- linux使用shell脚本实现自动登录scp传输文件到其他服务器
- 关于配置文件内容加密处理的感想(二)
- 用于修改hosts文件的 dl-ssl.google.com 对应ip查找
- 处理DG库自动建立文件失败的问题
- window下备份数据库到LinuxFTP服务器上并自动删除7天前数据备份文件
- 使用gulp为项目中的文件自动添加版本号之实践思路
- 使用websphere开发J2EE项目时,在服务器配置文件->“环境”->“类路径”中添加的ORACLE的JDBC文件classes12.zip文件是否有效呢?
- 处理Extjs4 文件上传时若服务器出错带来的有关问题