Skip to content

cobanov/localscan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocalScan

This is a simple network scanner written in Python. It utilizes ARP requests to discover devices on a given network and performs a lightweight scan on each discovered device using Nmap.

image

Usage

python scanner.py --network <network_range> --timeout <timeout_value>
  • Replace <network_range> with the IP address range to scan (e.g., 192.168.0.1/24).
  • The --timeout option (optional) allows you to adjust the timeout for ARP requests in seconds (defaults to 1 second).

Install

nmap should be installed

Windows

https://nmap.org/download.html#windows

MacOS

brew install nmap

To-do

  • Better colorization
  • Fix hostname problem
  • Refresh table with "R" key
  • Refresh automatically every n second
  • Remove nmap logging error

Disclaimer

This script is intended for educational purposes and penetration testing with proper authorization. It's crucial to respect network security and only scan networks you have permission to access.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Simple network scanner written in Python

Topics

Resources

License

Stars

Watchers

Forks

Languages