Author

Topic: How to block phishing/scam sites by adding the site in host file! (Read 274 times)

hero member
Activity: 2268
Merit: 669
Bitcoin Casino Est. 2013
Another "Easy" Solution if you don't like or your being lazy to edit the host file to block phishing sites then read the instruction below.  Let's just use my mobile phone as an example.

In addition to this guide there is much easier way to block phishing sites in your computer device or mobile devices by adding a blocking site extension like what I use in my mobile device for Mozilla Firefox browser (you can also install browser extension to your windows/mobile devices in other browser like google chrome).

Anyway there are various browsers you can use. Let's just use my mobile device and firefox browser as an example in this guide.
I don't know what blocking sites browser extension is 100% working but I found one that really works and for free but I don't know if you are safe from this blocking site extension (Use at your own risk). Here's the browser extension link for mobile devices https://addons.mozilla.org/en-US/android/addon/block-website/


[1]Open your browser then press the "three vertical dots" in the upper right of the screen.

[2]Select the "Add-ons"

[3]Select the Browse all Firefox Add-ons

[4]Search Block Site in the search bar and Select the Block Site

[5]Press the + Add to Firefox Button

[6]Select "Add"

[7]Now you can set the block Sites to block any phishing sites and you can also redirect the phishing site to any site you want after you accidentally click or mistakenly opening the phishing site. You can set a password in Block Site and add phishing sites you know or you'll soon to discover/know.[


Example: I blocked the bitcointalk.to and I type the bitcointalk.to in the address bar instead of going to bitcointalk.to you'll be redirected to bitcointalk.org instead.

[8]After you successfully added the phishing site make sure to Press "Save" and "Unblock" if you are adding more phishing sites then save again to make it work/block sites again.[/b]
hero member
Activity: 2268
Merit: 669
Bitcoin Casino Est. 2013
As an alternative, if you're going to do topic/reply searches on Bitcointalk, simply use:

Code:
site:bitcointalk.org *search query here*

That way, you wouldn't need to update your hosts file every time a new phishing site comes online, as only results from the official bitcointalk site would appear on your search query.
It's the same as what I did when I'm going to search for a topic in bitcointalk.org site using google.com
Let's say I am going to search for this topic "How to Block Phishing Site" which is my search query.
Code:
How to Block Phishing Site bitcointalk.org
It also works every time I search in google. My bad, my title should be "How to block phishing/scam sites permanently". Well in short, it's also a solution to avoid phishing/scam sites but this option I share has different result if you prefer adding the phishing/scam sites in host file which the added sites are permanently blocked until you have reformat your computer device. It's your/their decision in what option they choose when it comes to avoiding phishing/scam sites.
legendary
Activity: 2296
Merit: 2721
As an alternative, if you're going to do topic/reply searches on Bitcointalk, simply use:

Code:
site:bitcointalk.org *search query here*

That way, you wouldn't need to update your hosts file every time a new phishing site comes online, as only results from the official bitcointalk site would appear on your search query.

I'd prefer this solution, too. Adding each and every scam site to your host file would be a life journey and would be never finished. New scam sites are published every minute, often with minor changes in the url like

bitcointalk.org
b1tcointalk.org
bltkointalk.org
...

Impossible to keep pace and chances are anyway really low that you fall for scam sites you already aware of.
legendary
Activity: 2576
Merit: 1655
More detailed guide for Mac users.

1. Finder’s menu bar, select Go > Go to Folder

2. Type "/private/etc/hosts" and press return or click go



3. Double click on hosts



4. Then add the entry as posted by OP.

mk4
legendary
Activity: 2870
Merit: 3873
Paldo.io 🤖
As an alternative, if you're going to do topic/reply searches on Bitcointalk, simply use:

Code:
site:bitcointalk.org *search query here*

That way, you wouldn't need to update your hosts file every time a new phishing site comes online, as only results from the official bitcointalk site would appear on your search query.
hero member
Activity: 2268
Merit: 669
Bitcoin Casino Est. 2013
Hello guys, I would like to share what I found because it is not fully discussed on how to block website so here it is.

How to add scam/phishing site like bitcointalk.(to) fonstavka.(com) and more scam/phishing sites to be added in the host file.

Here is the steps to follow.

The location of the HOSTS file

The HOSTS file location can be different in each operating system used but most of it is are in the same location/path.

Windows 7, 8, 10, Windows Vista, Windows XP, Windows Server 2003:
C:\WINDOWS\system32\drivers\etc

Windows 2000:
C:\WINNT\system32\drivers\etc\

Windows 98/ME:
C:\WINDOWS


Open the host file in any Text Editor like notepad.

On Mac, navigate to "/private/etc/", and open the hosts file in a text editor.
On Linux, open terminal and write "sudo nano /etc/hosts"

Now you know where the host file is located. In some cases, you will need an administrator permission to do this in windows (don't worry).
To have administrator permission,

Open "Windows"/Press the "windows key" on the keyboard,

Next, Click "All Programs" then "Click Accessories" and "RIGHT CLICK" notepad then "RUN AS ADMINISTRATOR" where notepad is what we will use to edit the host file.

OTHER WAY:
Open "WINDOWS" then "SEARCH" for "NOTEPAD" AND "RUN AS ADMINISTRATOR".

Now in notepad, click File then click "Open File" and locate the host file in the location given above.

Now, the content of the host file is displayed on notepad and ready to edit.

Add the domain/site you want to add like bitcointalk.to fonstavka.com and more. This is what you will add in the host file, you must add the site after the
127.0.0.1    localhost
or refer to this quote below where you will add the site you want to block.
Add the following two lines to the bottom of the hosts file:
Code:
0.0.0.0 bitcointalk.to
0.0.0.0 fonstavka.com

After adding the site this will be the result where the phishing site is added in the bottom of the host file or  after 127.0.0.1      localhost

127.0.0.1    localhost
0.0.0.0 fonstavka.com
0.0.0.0 bitcointalk.to

0.0.0.0 would also work fine.
You can add more site by simply adding more phishing scam in this format "IP Address  EXAMPLE DOMAIN".

Then when you try to search the site in the browser which the site you are trying to search is added in host file the result will be this.

This site can't be reached.
examplesite.com refused to connect.
ERR_CONNECTION_REFUSED
or this
Example:


You can also redirect the phishing site to wherever you like. How to do redirect the site?
Visit this site:
https://www.online-tech-tips.com/computer-tips/edit-windows-hosts-file-to-block-redirect-websites/



Source:
Image: theyoungmillionaire
Quote: o_e_l_e_o
https://helpdeskgeek.com/how-to/block-websites-using-hosts-file/
https://helpdeskgeek.com/windows-7/windows-7-hosts-file/
https://www.online-tech-tips.com/computer-tips/edit-windows-hosts-file-to-block-redirect-websites/
Jump to: