Improve your internet security by blocking malicious domains
What is this
In
this post i will show you how can you block all malware domain which
host malicious code on their sites which can compromise your system or
your browser by saving some bad cookies or malware on your computer, not
only this it will also block ads and online tracking cookies.
How do this works
This
work by creating a host file by replacing your host file. This host
file get a list of all those malicious domain name and will create a
rule to block all those sites on your system.
How does it block site
They
redirect all those domain to your local address that means all those
blocked site in the list will redirect to 127.0.0.1 which is your
own computer and your computer will never allowed to communicate to that
address .
How to use this
Using this program is very easy just follow some easy steps below and you are good to go
STEP 1 . Open your terminal and type git clone https://github.com/zant95/hBlock && cd hBlock
STEP 2. Now in the program directory type ./Makefile this will configure some important settings.
STEP 3. That's it now run ./hblock with your desired options or just simply run ./hblock and you are good to go all those malicious domain will be blocked on your computer.
Does it really work?
To check this i tried to ping a malicious site from the list to check what DNS it is pointing.
We can see above the script did its work .
Comments
Post a Comment