GithubHelp home page GithubHelp logo

hoststools / windows Goto Github PK

View Code? Open in Web Editor NEW
903.0 903.0 166.0 237 KB

Hosts tool for googlehosts/hosts

Home Page: https://github.com/googlehosts/hosts

License: GNU General Public License v3.0

C++ 98.12% Batchfile 1.23% CMake 0.65%

windows's People

Contributors

bryant1410 avatar ir1d avatar lrinqvq avatar notly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windows's Issues

从16日开始无法正常更新host

host里和备份的.bak文件里# Copyright (c) 2014-2016, racaljk.
之后的内容变成

<title>404 Not Found</title> <style type="text/css"> html, body { width: 100%; height: 100%; margin: 0; padding: 0; background-color: #000; font-family: "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Segoe UI", "Microsoft YaHei", "微软雅黑", sans-serif; overflow: hidden; } h1, div, p, a { color: #fff; } a { text-decoration: none; } .circle { height: 100px; width: 100px; display: inline-block!important; border-radius: 100px; background-color: #fdfdfe; float: right; margin-top: 260px; } .forgive { color: #262626; font-size: 14px; display: block; width: 60px; margin-top: 27px; margin-left: 23px; } .eye { background-color: #262626; height: 20px; width: 20px; display: inline-block!important; border-radius: 20px; position: relative; } </style>
404 Not Found
404!
页面,我找不到你,我找不到你啊~
这样重复的html。 我手动重新更新host,再运行hostool还是这样。是服务器挂了?

[feature-request] silent模式

更新完了,必须点一次,才能退出
希望加个启动参数,-s silent模式 完全后台运行就好了

可能有朋友说,安装后台更新服务,就能在后台默默更新了
但个人不愿意,半小时运行一次……
加了silent模式,多方便啊

参考cow项目:https://github.com/cyfdecyf/cow
不但提供了cow.exe,还有
• cow-taskbar.exe,隐藏到托盘执行
• cow-hide.exe,隐藏为后台程序执行

如何清除tool.exe运行后的影响

现在每次开机hosts文件就自动备份成了hosts_backup,而我现在不想更新hosts了,怎么清除tool.exe工具运行后这样的影响呀?!能否解释一下tool.exe命令行工具到底在系统中做了什么?有没有注册什么服务之类的。

是否可以增加自定义配置

毕竟有一些配置项需要自定义,比如需要用域名访问局域网内的服务的时候,是否可以增加一个配置文件,在自动更新后,将配置文件中配置好的hosts附加进去?

win10-Defender报毒的解决办法

先在电脑里建个新文件夹(目标下载位置),然后添加此文件夹路径进杀毒软件的“排除”列表,下载程序到此文件夹,此文件夹内建议只存放信得过的文件。

default

更新hosts无法使用

今天下载了tools以后按照提示更新,但是很多网站依旧无法打开。对于电脑来说我就是一个纯小白级别的用户。但是由于工作需要本人经常要用到谷歌学术这个网站。请问要如何才能使用您提供的TOOLS程序更新hosts可以登陆谷歌。如果方便的话希望能够留下一个方便联系的练习方式。谢谢。如果可以帮我解决,小弟会有感谢。真诚地期待你的回复练习

无法卸载服务

运行Choose后选3

显示
`Fatal Error:
OpenService() Error in Uninstall service.
Is service exist? (GetLastError():2)
Please contact the application's support team for more information.

[Debug Message]
C:\WINDOWS\hoststools.exe
D:\Downloads\Tools\HostsTool\tool.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.`

之前使用11选项安装了启动项,未安装服务。但是没有相应的删除启动项的选项?

笑哭了 笑哭

2017/05/14 06:47:57 Open log file.
2017/05/14 06:47:57 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/14 06:48:57 Start replace hosts file.
2017/05/14 06:48:58 Replace File Successfully
2017/05/14 07:19:02 Start replace hosts file.
2017/05/14 07:19:03 Finish:Hosts file Not update.

2017/05/14 07:49:03 Start replace hosts file.
2017/05/14 07:49:03 Finish:Hosts file Not update.

2017/05/14 08:19:03 Start replace hosts file.
2017/05/14 08:19:06 Finish:Hosts file Not update.

2017/05/14 08:49:06 Start replace hosts file.
2017/05/14 08:49:12 Finish:Hosts file Not update.

2017/05/14 09:19:12 Start replace hosts file.
2017/05/14 09:19:14 Finish:Hosts file Not update.

2017/05/14 09:49:14 Start replace hosts file.
2017/05/14 09:49:15 Finish:Hosts file Not update.

2017/05/14 10:19:15 Start replace hosts file.
2017/05/14 10:19:16 Finish:Hosts file Not update.

2017/05/14 10:49:16 Start replace hosts file.
2017/05/14 10:49:17 Finish:Hosts file Not update.

2017/05/14 11:19:17 Start replace hosts file.
2017/05/14 11:19:18 Finish:Hosts file Not update.

2017/05/14 12:20:18 Start replace hosts file.
2017/05/14 12:20:19 Finish:Hosts file Not update.

2017/05/14 13:21:19 Start replace hosts file.
2017/05/14 13:21:20 Finish:Hosts file Not update.

2017/05/14 14:22:20 Start replace hosts file.
2017/05/14 14:23:04 Fatal Error:
DownLoad hosts file Error! (GetLastError():183)
Please contact the application's support team for more information.
2017/05/14 15:24:04 Start replace hosts file.
2017/05/14 15:24:05 Finish:Hosts file Not update.

2017/05/14 16:25:05 Start replace hosts file.
2017/05/14 16:25:07 Finish:Hosts file Not update.

2017/05/14 16:55:07 Start replace hosts file.
2017/05/14 16:55:07 Finish:Hosts file Not update.

2017/05/14 17:25:07 Start replace hosts file.
2017/05/14 17:25:14 Finish:Hosts file Not update.

2017/05/14 17:55:14 Start replace hosts file.
2017/05/14 17:55:15 Finish:Hosts file Not update.

2017/05/14 18:25:15 Start replace hosts file.
2017/05/14 18:25:27 Finish:Hosts file Not update.

2017/05/14 19:31:30 Start replace hosts file.
2017/05/14 19:31:37 Finish:Hosts file Not update.

2017/05/14 20:02:31 Open log file.
2017/05/14 20:02:31 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/14 20:03:31 Start replace hosts file.
2017/05/14 20:04:14 Finish:Hosts file Not update.

2017/05/14 20:34:14 Start replace hosts file.
2017/05/14 20:34:16 Finish:Hosts file Not update.

2017/05/14 21:04:16 Start replace hosts file.
2017/05/14 21:04:17 Finish:Hosts file Not update.

2017/05/14 21:34:17 Start replace hosts file.
2017/05/14 21:34:18 Finish:Hosts file Not update.

2017/05/14 22:04:18 Start replace hosts file.
2017/05/14 22:04:19 Finish:Hosts file Not update.

2017/05/14 22:34:19 Start replace hosts file.
2017/05/14 22:34:32 Finish:Hosts file Not update.

2017/05/14 23:04:32 Start replace hosts file.
2017/05/14 23:04:33 Finish:Hosts file Not update.

2017/05/14 23:34:33 Start replace hosts file.
2017/05/14 23:34:36 Finish:Hosts file Not update.

2017/05/14 23:45:22 Open log file.
2017/05/14 23:45:22 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/14 23:46:22 Start replace hosts file.
2017/05/14 23:46:23 Finish:Hosts file Not update.

2017/05/15 07:40:02 Open log file.
2017/05/15 07:40:02 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 07:41:02 Start replace hosts file.
2017/05/15 07:41:14 Replace File Successfully
2017/05/15 08:11:16 Start replace hosts file.
2017/05/15 08:11:17 Finish:Hosts file Not update.

2017/05/15 08:41:17 Start replace hosts file.
2017/05/15 08:41:18 Finish:Hosts file Not update.

2017/05/15 09:11:18 Start replace hosts file.
2017/05/15 09:11:18 Finish:Hosts file Not update.

2017/05/15 09:41:18 Start replace hosts file.
2017/05/15 09:41:19 Finish:Hosts file Not update.

2017/05/15 10:11:19 Start replace hosts file.
2017/05/15 10:11:20 Finish:Hosts file Not update.

2017/05/15 10:41:20 Start replace hosts file.
2017/05/15 10:41:21 Finish:Hosts file Not update.

2017/05/15 11:11:21 Start replace hosts file.
2017/05/15 11:11:22 Finish:Hosts file Not update.

2017/05/15 12:12:22 Start replace hosts file.
2017/05/15 12:12:22 Finish:Hosts file Not update.

2017/05/15 12:45:27 Open log file.
2017/05/15 12:45:27 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 17:03:54 Open log file.
2017/05/15 17:03:54 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 17:04:54 Start replace hosts file.
2017/05/15 17:04:55 Finish:Hosts file Not update.

2017/05/15 17:10:06 Open log file.
2017/05/15 17:10:06 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 17:11:06 Start replace hosts file.
2017/05/15 17:11:07 Finish:Hosts file Not update.

2017/05/15 17:12:56 Open log file.
2017/05/15 17:12:56 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 17:13:56 Start replace hosts file.
2017/05/15 17:13:57 Finish:Hosts file Not update.

2017/05/15 18:41:05 Start replace hosts file.
2017/05/15 18:41:06 Finish:Hosts file Not update.

2017/05/15 18:57:27 Open log file.
2017/05/15 18:57:27 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 18:58:27 Start replace hosts file.
2017/05/15 18:58:28 Finish:Hosts file Not update.

2017/05/15 19:09:19 Open log file.
2017/05/15 19:09:19 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 19:10:19 Start replace hosts file.
2017/05/15 19:10:20 Finish:Hosts file Not update.

2017/05/15 19:54:27 Open log file.
2017/05/15 19:54:27 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 19:55:27 Start replace hosts file.
2017/05/15 19:55:28 Finish:Hosts file Not update.

2017/05/15 20:01:22 Open log file.
2017/05/15 20:01:22 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 20:02:22 Start replace hosts file.
2017/05/15 20:02:23 Finish:Hosts file Not update.

2017/05/15 20:08:53 Open log file.
2017/05/15 20:08:53 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 20:09:53 Start replace hosts file.
2017/05/15 20:09:54 Finish:Hosts file Not update.

2017/05/15 20:12:03 Open log file.
2017/05/15 20:12:03 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 20:13:03 Start replace hosts file.
2017/05/15 20:13:04 Finish:Hosts file Not update.

2017/05/15 20:43:04 Start replace hosts file.
2017/05/15 20:43:05 Finish:Hosts file Not update.

2017/05/15 21:07:38 Open log file.
2017/05/15 21:07:38 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/15 21:08:38 Start replace hosts file.
2017/05/15 21:08:39 Finish:Hosts file Not update.

2017/05/15 21:38:39 Start replace hosts file.
2017/05/15 21:38:40 Finish:Hosts file Not update.

2017/05/15 22:08:40 Start replace hosts file.
2017/05/15 22:08:44 Finish:Hosts file Not update.

2017/05/15 22:38:44 Start replace hosts file.
2017/05/15 22:38:45 Finish:Hosts file Not update.

2017/05/15 23:08:45 Start replace hosts file.
2017/05/15 23:08:46 Finish:Hosts file Not update.

2017/05/15 23:38:46 Start replace hosts file.
2017/05/15 23:38:47 Finish:Hosts file Not update.

2017/05/16 00:08:47 Start replace hosts file.
2017/05/16 00:08:49 Finish:Hosts file Not update.

2017/05/16 08:41:22 Open log file.
2017/05/16 08:41:22 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/16 08:42:22 Start replace hosts file.
2017/05/16 08:42:24 Finish:Hosts file Not update.

2017/05/16 09:12:24 Start replace hosts file.
2017/05/16 09:12:24 Finish:Hosts file Not update.

2017/05/16 09:42:24 Start replace hosts file.
2017/05/16 09:42:25 Finish:Hosts file Not update.

2017/05/16 10:12:25 Start replace hosts file.
2017/05/16 10:12:26 Finish:Hosts file Not update.

2017/05/16 10:42:26 Start replace hosts file.
2017/05/16 10:42:26 Finish:Hosts file Not update.

2017/05/16 11:12:26 Start replace hosts file.
2017/05/16 11:12:27 Finish:Hosts file Not update.

2017/05/16 17:08:40 Open log file.
2017/05/16 17:08:40 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/05/16 17:09:40 Start replace hosts file.
2017/05/16 17:09:41 Finish:Hosts file Not update.

2017/07/28 20:59:24 Open log file.
2017/07/28 20:59:24 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/07/28 21:00:24 Start replace hosts file.
2017/07/28 21:01:48 Fatal Error:
DownLoad hosts file Error! (GetLastError():183)
Please contact the application's support team for more information.
2017/07/29 09:26:37 Open log file.
2017/07/29 09:26:37 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/07/29 09:27:37 Start replace hosts file.
2017/07/29 09:27:38 Finish:Hosts file Not update.

2017/07/29 09:55:43 Open log file.
2017/07/29 09:57:38 Start replace hosts file.
2017/07/29 09:59:45 Open log file.
2017/07/29 09:59:45 LICENSE:General Public License
Copyright (C) 2016 Too-Naive
Bug report:[hidden]
Or open new issue.(https://github.com/HostsTools/Windows)
2017/07/29 10:00:45 Start replace hosts file.

偶尔更新的hosts有缺失

电脑上,碰到了几次,比如今天,用tools更新了hosts,打开本地hosts,Last updated: 2016-12-25,更新成功,但搜instagram,搜不到结果;而在网页上Last updated: 2016-12-25,可以搜到instagram;之后运行了几次tools才可以搜到instagram。这好奇怪。

无法下载

已经打开了VPN,使用迅雷下载,显示原文件已失效?

服务不能自动更新hosts文件

racaljk/hosts#654
在windows 2008 R2和windows 10均出现了这个情况

希望watch的朋友们如果出现了这种情况也反馈一下 这样能够汇总问题方便修复bug

一个错误

我用Firefox,访问google有问题,但是用HostsTools来更新,出现一个错误:
2017-07-16_025202

希望能够按照分组来过滤条目

比如我希望在更新hosts的时候自动过滤掉Github组的条目,或者指定的其他一个或多个组的条目。

配置方式可以是命令行,也可以是在hosts特定的行区

打开tool.exe提示找不到dll文件

提示系统缺失libstdc++-6.dll与libgcc_sdw2-1.dll文件,无法继续执行代码。
尝试安装VC++运行库并且将这两个dll文件补全之后,再次打开程序提示应用程序无法正常启动(0x000007b).
能否告知如何处理?谢谢

谷歌搜索不能用了啊

谷歌搜索这几天开始一直不能用了,推特脸书谷歌邮箱什么的都可以用,唯独谷歌搜索没法用了,是hosts失效么还是别的原因??哦对了还有youtube能打开但是不能播放,这个是我网的问题么。。

更新问题

每次通过双击tool更新头部总会有一行空白,更新几次后hosts多了很多空行。

FindFirstFile() Error!(2)

Start replace hosts file:
Step1:Download hosts file... Done.
Step2:Change Line Endings... Done.

Finish:Hosts file Not update.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.