Skip to content

Bash script for blocking offensive attacks using AbuselPDB API and iptables.

Notifications You must be signed in to change notification settings

medmac01/dontabuseme

Repository files navigation

DontAbuseMe 😈

Authors: @medmac01 @helooom

Credits: @hichammoad

Twitter: https://twitter.com/medmac01

DontAbuseMe is a simple Bash script for blocking offensive attacks using AbuselPDB API , and it's capable of blocking suspecious attacks from their IPs using firewall rules.

image

Dependencies:

  1. jq tool to handle JSON files

Install it from here

  1. Curl

For Linux

sudo apt install curl

For macOS

brew install curl

Pre-installation:

First, you need to sign up in AbuselPDB to get a free API Key.

After you get your free API Key , you need to put in the config file.

Send report to mail feature requires ssmtp server configured and sendmail installed in your machine.

Usage:

git clone https://github.com/medmac01/dontabuseme.git
cd dontabuseme
bash script.sh

-p [IPAddress] : scans an IPAddress using the API

Happy surfing!

About

Bash script for blocking offensive attacks using AbuselPDB API and iptables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages