Last active
May 12, 2019 21:32
-
-
Save ccallahan/caa3ccafe39bcf8ec8393070e28e614d to your computer and use it in GitHub Desktop.
When you absolutely, positively got to kill every motherfucker in the room; accept no substitutes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# killabitch | |
# Add to your .bashrc, source it, then type killabitch <ip> <cidr> | |
function killabitch { | |
sudo firewall-cmd --zone=drop --add-source=$1/$2 --permanent | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment