โโโยท .โโ ยท โโยท โช โช โโโ โโโยท โ โ โข โ โ ยท. โโโยท โโโยท
โโ โโ โโ โ. โโ โโชโโ โโ โโโข โโ โโ โขโโโโ ยทโโ โโโโโชโโ โโ โโ โโ
โโโโโ โโโโโโโโ โโโโยทโโยท โโโช โโโโโ โโโโโ โโ โโโโโยทโโโโโ โโโยท
โโ โชโโโโโโชโโโโโโโโโโโโโ โโโโโโโ โชโโโโโโโ โโ โโโโโโโโ โชโโโโโชยทโข
โ โ โโโโ ยทโโโ โโโโโโ .โโโ โ โ โโ โโช โโ โโชโโโ โ โ .โ
+-----------------------------+
| |
| <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
How to use:
Pre-requisits
- If go is not installed, install go
- If diagram is not installed, install diagram
Usage from source
- 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)