hosts文件位置、hosts文件是什么?hosts文件修复方法的详细介绍
答案:2 悬赏:10 手机版
解决时间 2021-02-27 16:27
- 提问者网友:你独家记忆
- 2021-02-27 11:36
hosts文件位置、hosts文件是什么?hosts文件修复方法的详细介绍
最佳答案
- 五星知识达人网友:北城痞子
- 2021-02-27 12:12
很多病毒会修改Hosts文件,例如:把Baidu、Google等常用地址均指向病毒网站,只要你上网搜索,自然会中毒!也会利用修改Hosts文件把购物、银行等网站指向钓鱼网站,盗取您的账号密码。更有甚者,病毒会通过修改Hosts使您无法访问杀毒软件官网,无法下载杀毒软件进行查杀,所以Hosts文件修复非常重要。
hosts文件位置:
windows 系统:C:\WINDOWS\system32\drivers\etc
hosts 文件内容:
# Copyright (c) 1993-1999 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.## For example:## 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
如果你怀疑你的hosts文件 被病毒 木马修改,可复制以上内容修复hosts 文件。
本地通过hosts实现屏蔽网站,例如我们想屏蔽或你想本地流量cctv.com为本地网站,可以在后面添加
127.0.0.1 cctv.com
注:ip与域名直接需要用tab键隔开
hosts文件位置:
windows 系统:C:\WINDOWS\system32\drivers\etc
hosts 文件内容:
# Copyright (c) 1993-1999 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.## For example:## 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
如果你怀疑你的hosts文件 被病毒 木马修改,可复制以上内容修复hosts 文件。
本地通过hosts实现屏蔽网站,例如我们想屏蔽或你想本地流量cctv.com为本地网站,可以在后面添加
127.0.0.1 cctv.com
注:ip与域名直接需要用tab键隔开
全部回答
- 1楼网友:话散在刀尖上
- 2021-02-27 13:04
很多病毒会修改hosts文件,例如:把baidu、google等常用地址均指向病毒网站,只要你上网搜索,自然会中毒!也会利用修改hosts文件把购物、银行等网站指向钓鱼网站,盗取您的账号密码。更有甚者,病毒会通过修改hosts使您无法访问杀毒软件官网源码天空 ,无法下载杀毒软件进行查杀,所以hosts文件修复非常重要。 hosts文件位置: windows 系统:c:\windows\system32\drivers\etc hosts 文件内容: # copyright (c) 1993-1999 microsoft corp.## this is a sample hosts file used by microsoft tcp/ip for windows.## this file contains the mappings of ip addresses to host names. each # entry should be kept on an individual line. the ip address should # be placed in the first column followed by the corresponding host name. # the ip address and the host name should be separated by at least one# space.## additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol.## for example:## 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯