GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - scriptzteam/masscan-exclude: 🚫 Exclude Unwanted IP Ranges from Masscan Scans.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
exclude.conf
exclude.conf
 
 
exclude.sh
exclude.sh
 
 

Repository files navigation

🚫 masscan-exclude: Exclude Unwanted IP Ranges from Masscan Scans

πŸ“˜ Overview

The exclude.sh script is designed to help you exclude specific IP ranges from your Masscan scans.

The exclude.conf file is designed to help you exclude specific IP ranges from your Masscan scans.

masscan 0.0.0.0/0 -p0-65535 --excludefile exclude.conf

Excluded ranges:

  • πŸ”’ Private IPs
  • 🌐 Reserved IPs
  • πŸ•ΈοΈ Bogon IPs
  • 🌍 Root DNS servers
  • πŸ›οΈ Government and law enforcement IPs

By filtering out these ranges, you can focus your scans on more relevant targets and avoid unnecessary traffic to sensitive or internal networks.

βš™οΈ Prerequisites

Before running the script exclude.sh, ensure you have the following installed:

  • βœ… ipset – for managing IP sets
  • βœ… iptables – for configuring firewall rules
  • βœ… curl – for fetching the exclusion list

πŸ› οΈ Installation & Usage

  1. Clone the Repository:

    git clone https://github.com/scriptzteam/masscan-exclude.git
    cd masscan-exclude
    
  2. Run the Script:

    ./exclude.sh

This will:

Download the latest exclude.conf file.
Flush and recreate the masscan-exclude IP set.
Populate the set with IPs to exclude.
Update iptables rules to drop incoming and outgoing traffic to/from these IPs.

About

🚫 Exclude Unwanted IP Ranges from Masscan Scans.

Topics

bogondnsexcludeipv4ipv6masscanmasscan-excludemasscannerprivate-ipprivate-ip-addressreserved-ipreserved-ip-adressrootroot-dnsscanning

Resources

Readme
Activity

Stars

7 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.