Skip to content

This script download different hosts files containing domains of sites with advertising, viruses and malwares, it compose the new final hosts file using address found in /hosts.local making a backup of the previous

License

Notifications You must be signed in to change notification settings

AlphaSocket/update-hosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

update-hosts

This script download different lists from the web containing domains of sites with advertising, viruses and malwares.

It make a backup of the /etc/hosts file and compose the final hosts file using previous file and a file found at /etc/hosts.local containing custom entry for local pc like virtualhosts redirects. During the first run the original /etc/hosts file is renamed as /etc/hosts.local

Prerequisites

Bash shell

Getting Started

  • Clone the git
git clone https://github.com/AlphaSocket/update-hosts

Run

  • Run update-host as Root
  sudo update-hosts/update-hosts

About

This script download different hosts files containing domains of sites with advertising, viruses and malwares, it compose the new final hosts file using address found in /hosts.local making a backup of the previous

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages