Skip to content

Instantly share code, notes, and snippets.

@ccallahan
Last active May 12, 2019 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccallahan/caa3ccafe39bcf8ec8393070e28e614d to your computer and use it in GitHub Desktop.
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.
# 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