Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.47 KB

Readme.md

File metadata and controls

45 lines (34 loc) · 1.47 KB

Simple IPScanner UFW block script in bash

This Script add UFW Deny Rules for IP's and IP-Subnets from different Security and IoT Scanning Services that may scan your server. You must install ufw firewall for your distribution. Tested on Ubuntu and Debian.


Attention !

Some scanners use cloud services such as AWS, Google Cloud, Digital Ocean etc. If you block these, it can lead to problems with installed software that also uses them. So you need to analyze and whitelist specific IP's if you encounter problems.


Supported Sites

  • Censys.io
  • Shodan.io
  • zoomeye.hk
  • criminalip.io
  • recyber.net
  • alphastrike.io
  • shadowserver.org
  • driftnet.io
  • cyberresilience.io
  • internet-census.org
  • scanopticon.com
  • leakix.net
  • onyphe.io

How to use

  1. chmod +x block_ips.sh
  2. ./block_ips.sh
  3. Profit??

Sources