+
Skip to content

zzj99/glhosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

The simple python script in this folder is used to update hosts for g0og1e from specific URLs, works for Linux, MacOS and Windows. Success is not guranteed. Please backup your hosts file before using it.

Path for hosts file in case you need to backup it

  • Windows : C:\Windows\System32\Drivers\hosts

  • Linux / Mac : /etc/hosts

Usage

Make sure you have installed python 2.7.6+ (but NOT 3.x). Then run the script with Administrator or root (sudo) privilege.

  • Windows : python hosts.py # run it as Administrator

  • Linux / Mac : python hosts.py # run it with sudo or as root

Acknowledgement

The author thank all the people who share the knowledge for accessing g0og1e very much for their great internet spirit.

中文描述

这个简单的脚本通过好人们的网址复制hosts,不包成功,hosts系统路径见上面。

用法就是以管理员身份运行命令python hosts.py,注意不是python3,在哪个文件夹下运行都行,没装python的先去装。

感谢互联网!好人一生平安!

About

Script for updating g0ogle hosts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载