Skip to content

Simple bash script to block ipscanner like Shodan and Censys

License

Notifications You must be signed in to change notification settings

fistwho/ipscanner-block-ufw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple bash script to block ipscanner like Shodan and Censys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages