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?

  • cheer@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    1 year ago

    From 2009:

    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