▄▄▄· .▄▄ · ▄▄· ▪ ▪ ▄▄▌ ▄▄▄· ▐ ▄ • ▌ ▄ ·. ▄▄▄· ▄▄▄·
▐█ ▀█ ▐█ ▀. ▐█ ▌▪██ ██ ██• ▐█ ▀█ •█▌▐█ ·██ ▐███▪▐█ ▀█ ▐█ ▄█
▄█▀▀█ ▄▀▀▀█▄██ ▄▄▐█·▐█· ██▪ ▄█▀▀█ ▐█▐▐▌ ▐█ ▌▐▌▐█·▄█▀▀█ ██▀·
▐█ ▪▐▌▐█▄▪▐█▐███▌▐█▌▐█▌ ▐█▌▐▌▐█ ▪▐▌██▐█▌ ██ ██▌▐█▌▐█ ▪▐▌▐█▪·•
▀ ▀ ▀▀▀▀ ·▀▀▀ ▀▀▀▀▀▀ .▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀ █▪▀▀▀ ▀ ▀ .▀
+-----------------------------+
| |
| <192.68.1.64> |
| |
| * |
+-----------------------+-----+
|
|
|
+-----------------------|-----+
| * |
| <192.68.1.66> |
| [+] 80:http |
| [+] 111:rpcbind |
| |
| * |
+-----------------------+-----+
|
|
|
+-----------------------|-----+
| * |
| <192.68.1.109> |
| [+] 53:domain dnsmasq |
| [+] 111:rpcbind |
| |
| * |
+-----------------------+-----+
|
|
|
+-----------------------|-----+
| * |
| <192.68.1.254> |
| [+] 80:http |
| [+] 443:http |
| [+] 8200:upnp |
| |
| |
+-----------------------------+
- Runs nmap using the awesome Ullaakut/nmap Idiomatic nmap library for go on the LAN.
- Generates a basic ASCII network diagram
- Generates a 'hand drawn' version of the ASCII network diagram using esimov/diagram
- Generates a bootstrap themed web report from the LAN scan using honze-net/nmap-bootstrap-xsl and xsltproc
- If go is not installed, install go
- If diagram is not installed, install diagram
- clone repo
git clone https://github.com/Bedrovelsen/ascii-LAN-map
cd ascii-LAN-map
2a. Build binary and execute
go mod tidy
go build .
chmod +x asciiLANmap
./ascii-lan-map
OR
2b. run with go run directly
go run main.go
Notes:
- Requires esimov/diagram.
- Built in LAN CIDR network range discovery (Tested under debian and previously under Mac OS X, don't hesitate to make issue if fails to fetch CIDR on your setup)