Skip to content

err0rgod/nascar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

111 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏎️ Nascar — Advanced WAN/LAN Network Scanner

Nascar is a high-performance, multi-threaded network scanner designed for speed and precision. Built with Python and Scapy, it intelligently detects live hosts across both local (LAN) and wide-area (WAN) networks.

"If it's on the network, it's on the radar." — err0rgod


✨ Features

  • Dual-Mode Detection: Uses ARP for local subnets and ICMP for external networks.
  • 🕵️ OS Fingerprinting: Infers operating systems (Windows, Linux/Unix) via TTL analysis.
  • 🌐 Target Flexibility: Supports CIDR ranges, individual IPs, and Domain Names.
  • 🧵 Multi-Threaded: Highly concurrent scanning for rapid results.
  • 🚪 Port Discovery: Optional common port scanning for service discovery and lateral movement analysis.
  • 🛠️ Lightweight: Minimal dependencies, focused on core networking primitives.

🚀 Installation

Prerequisites

  • Python 3.x
  • Root/Administrative privileges (required for raw socket operations like ARP/ICMP)

Automatic Setup (Linux/macOS)

chmod +x setup.sh
./setup.sh

Manual Setup (Windows & Virtualenvs)

pip install -r Requirements.txt

⚙️ Usage

python start.py --network <target> [options]

🛠️ Arguments

Flag Long Flag Description
-n --network Required. Target IP, CIDR, or Domain Name.
-t --threads Number of concurrent threads (default: 10).
-v --verbose Enable verbose logging of scan progress.
-s --silent Run in silent mode (only shows final results).
-lm --lateral Enable common port scanning on discovered hosts.

🧪 Examples

Scan Local Subnet

python start.py -n 192.168.1.0/24 -t 50 -v

Scan a Domain

python start.py -n example.com

External Range with Port Discovery

python start.py -n 10.10.10.0/24 -lm -t 20

📊 Output Format

Nascar provides a clean, tabular summary of its findings:

Scan complete. Alive hosts:
IP Address       MAC Address        Hostname             OS           Open Ports
-------------------------------------------------------------------------------------
192.168.1.1      00:11:22:33:44:55  router.local         Linux/Unix   80,443
192.168.1.5      aa:bb:cc:dd:ee:ff  workstation.local    Windows      3389, 445

🛡️ Disclaimer

This tool is intended strictly for authorized security auditing and educational purposes. Unauthorized scanning of networks is illegal and unethical. The author assumes no liability for misuse of this tool.


👤 Author

err0rgod GitHub Profile

About

Network scanner built in python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors