Learning the terminal. Found this nice android app: “Linux Command Library”
It lists a number of man pages and examples.
I found this one:
block known dirty hosts from accessing your machine
wget -qO - http://infiltrated.net/blacklisted|awk '!/#|[a-z]/&&/./{print "iptables -A INPUT -s "$1" -j DROP"}'
I figured that domain was a list of spam sites and such.
Googled it. Found nothing mentioning it. Went to the domain and it was blocked by my ad blocker.
Anyone know of it?
Blacklisted is a compiled list of all known dirty hosts (botnets, spammers, bruteforcers, etc.) which is updated on an hourly basis. This command will get the list and create the rules for you
Whatever it was, it redirects to a generic for sale domain page now. Long dead.
Was active up until last year: http://web.archive.org/web/20220113051947/http://infiltrated.net/
Looks like the blacklisted file itself was updated until May 2015: http://web.archive.org/web/20150522093704/http://infiltrated.net/blacklisted
Even if it is still a thing, kinda aus when the command modifies the Firewall like that
Wonder how many devices out there could be owned just by buying that domain…
I think an ever growing list isn’t the best either. Probably makes more sense to utilise fail2ban which will manage your firewall rules appropriately.