Questions tagged [hosts-file]
The hosts-file tag has no usage guidance.
13 questions
0
votes
0
answers
114
views
Export Fiddler Site Specific Cert
I have a site example.com that I am currently intercepting https traffic for and pointing it to my local server using fiddler. I would like to take fiddler out of the equation by installing the site's ...
-2
votes
2
answers
408
views
What if someone made Google SafeBrowsing flag a website by hosting a malicious site locally? [closed]
I have seen many posts here about /etc/hosts, but I don't see them addressing this issue. The issue is:
If a person adds 127.0.0.1 mywebsite.com to their /etc/hosts file and 127.0.0.1 has dangerous ...
2
votes
1
answer
457
views
Adblocker versus denied hosts list?
I came across the idea of adding many domain names to an hosts list to prevent "malvertising" (malware hidden in ads). How does this compare to using an adblocker?
Using an host files seems better to ...
0
votes
1
answer
1k
views
Modifying host file versus firewall
I am trying to protect a macOS computer. Specifically, I want to prevent the machine from making unwanted connections over the internet.
I am aware of firewalls of course. But I stumbled upon the idea ...
-1
votes
1
answer
543
views
How to block website with the particular ip address using host file
I have blocked websites for a user in Lan environment through changing host file on his pc. like this- 127.0.0.1 youtube.com (Succeded). But i want that if user use other ip address (mobile hotspot or ...
2
votes
1
answer
1k
views
Certificates for localhost, MITM Attack
Excerpt from https://letsencrypt.org/docs/certificates-for-localhost/
You might be tempted to work around these limitations by setting up a domain name in the global DNS that happens to resolve to ...
4
votes
1
answer
597
views
What is the point of blocking a potentially malicious domain by binding it in the hosts file to 0.0.0.0 rather than 127.0.0.1?
tl;dr: In order to prevent a potential use of our computers to mine crytpocurrencies, I and a few other people were advised to append this: https://github.com/hoshsadiq/adblock-nocoin-list/blob/master/...
9
votes
1
answer
2k
views
Does Windows Update modify Hosts file?
I have Avira installed with Hosts file protection enabled.
I've noticed a pattern where Avira warns me of an attempted modification of the Hosts file (but alas doesn't tell me which process did the ...
25
votes
5
answers
12k
views
Is it unsafe to use /etc/hosts file as a website blocker in the following manner?
I'm a linux noob, and while looking for a simple OS-level website blocking technique, I came upon the solution of using the linux hosts file like so:
127.0.0.1 websiteiwanttoblock.com
127.0.0.1 ...
-1
votes
1
answer
1k
views
How can adding a line to your hosts file bypass a server side firewall?
In this SQLi blog the author says that to bypass a firewall at the server side you should add this line to your /etc/hosts file:
54.165.170.2 www.example.com
But doing so will only block my ...
3
votes
2
answers
6k
views
Can browser bypass hosts configuration file?
for example, assume I have edited the hosts file with the following line:
127.0.0.1 malicious-site.com
if I happen to have installed a browser developed by people who owns this malicious website.
...
2
votes
1
answer
533
views
.onion entries in hosts file
I opened my %WINDIR%\system32\drivers\etc\hosts file & I found the following entries there
0.0.0.0 gx7ekbenv2riucmf.onion
0.0.0.0 57g7spgrzlojinas.onion
0.0.0.0 Xxlvbrloxvriy2c5.onion
0.0.0.0 ...
3
votes
1
answer
488
views
Proper method of block ads/tracking on VPN Server for Clients
I´m running a VPN service on Debian(for a few friends) as kind of like a self learning project to gather more experience running a secure and highly available service.
At the moment OpenVPN pushes ...