Skip to content

Instantly share code, notes, and snippets.

@hemoglobin
hemoglobin / abuseipdb_block.sh
Created December 17, 2020 19:00
Shell implementation of csf integration
#!/usr/bin/sh
# Set your AbuseIPDB API key here.
key="f4635bfa5be867bcd3543064934716df3506bf8dbfe9daaedd896331b465851f0e3049daa6add6d2"
# Choose the appropriate AbuseIPDB category ID depending on what LFD is scanning.
# https://www.abuseipdb.com/categories
categories="18,22"
# Rename arguments for readability.