Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # ,___
- # ¡ _` BlackBuntu's Hosts Defense
- # ª_/() noes1s
- # |\` `, http://pastebin.com/u/noes1s
- # _·' l CC BY-SA 3.0
- #__________________________________________________________
- # 127.0.0.1 DEFENSE (http://winhelp2002.mvps.org/hosts.htm)
- cp /etc/hosts /etc/hosts.bak
- cp /etc/hosts /tmp/hosts
- wget http://winhelp2002.mvps.org/hosts.txt -O- >> /tmp/hosts
- cat /tmp/hosts |awk ' !x[$0]++' > /tmp/newhosts
- sudo mv /tmp/newhosts /etc/hosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement