Lanscan
Simple LAN-Scanner written in python
Install / Use
/learn @sperrbit/LanscanREADME
LanScan
Overview
This script will scan a given network for hosts that respond to either an icmp echo or tcp/22, tcp/23, tcp/80, tcp/443, tcp/445 or tcp/3389. The output is a csv.
Usage
-h, --help
show this help message and exit
-n NETWORK, --network NETWORK
e.g. 192.168.10.0/24
-t TIMEOUT, --timeout TIMEOUT
timeout in seconds e.g. 0.5
Use CTRL+C to stop the scan manualy.
Example
$./lanscan.py --network 192.168.178.0/24 --timeout 0.3
Scans the network 192.168.178.0/24 for online hosts with a timeout of 0.3 seconds.
IP, STATUS, HOSTNAME, ftp, ssh, http, https, smb, rdp
192.168.178.0, OFFLINE, NA
192.168.178.1, ONLINE, 0,1,1,1,0,0
192.168.178.2, ONLINE, 0,1,0,0,0,0
192.168.178.3, OFFLINE, NA
...
