Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

github.com/bedrovelsen/ascii-lan-map

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/bedrovelsen/ascii-lan-map

  • v0.0.0-20230227193444-9d9b6016799b
  • Source
  • Go
  • Socket score

Version published
Created
Source
 โ–„โ–„โ–„ยท .โ–„โ–„ ยท  โ–„โ–„ยท โ–ช  โ–ช      โ–„โ–„โ–Œ   โ–„โ–„โ–„ยท  โ– โ–„     โ€ข โ–Œ โ–„ ยท.  โ–„โ–„โ–„ยท  โ–„โ–„โ–„ยท
โ–โ–ˆ โ–€โ–ˆ โ–โ–ˆ โ–€. โ–โ–ˆ โ–Œโ–ชโ–ˆโ–ˆ โ–ˆโ–ˆ     โ–ˆโ–ˆโ€ข  โ–โ–ˆ โ–€โ–ˆ โ€ขโ–ˆโ–Œโ–โ–ˆ    ยทโ–ˆโ–ˆ โ–โ–ˆโ–ˆโ–ˆโ–ชโ–โ–ˆ โ–€โ–ˆ โ–โ–ˆ โ–„โ–ˆ
โ–„โ–ˆโ–€โ–€โ–ˆ โ–„โ–€โ–€โ–€โ–ˆโ–„โ–ˆโ–ˆ โ–„โ–„โ–โ–ˆยทโ–โ–ˆยท    โ–ˆโ–ˆโ–ช  โ–„โ–ˆโ–€โ–€โ–ˆ โ–โ–ˆโ–โ–โ–Œ    โ–โ–ˆ โ–Œโ–โ–Œโ–โ–ˆยทโ–„โ–ˆโ–€โ–€โ–ˆ  โ–ˆโ–ˆโ–€ยท
โ–โ–ˆ โ–ชโ–โ–Œโ–โ–ˆโ–„โ–ชโ–โ–ˆโ–โ–ˆโ–ˆโ–ˆโ–Œโ–โ–ˆโ–Œโ–โ–ˆโ–Œ    โ–โ–ˆโ–Œโ–โ–Œโ–โ–ˆ โ–ชโ–โ–Œโ–ˆโ–ˆโ–โ–ˆโ–Œ    โ–ˆโ–ˆ โ–ˆโ–ˆโ–Œโ–โ–ˆโ–Œโ–โ–ˆ โ–ชโ–โ–Œโ–โ–ˆโ–ชยทโ€ข
 โ–€  โ–€  โ–€โ–€โ–€โ–€ ยทโ–€โ–€โ–€ โ–€โ–€โ–€โ–€โ–€โ–€    .โ–€โ–€โ–€  โ–€  โ–€ โ–€โ–€ โ–ˆโ–ช    โ–€โ–€  โ–ˆโ–ชโ–€โ–€โ–€ โ–€  โ–€ .โ–€   

		+-----------------------------+
		|                             |
		|     <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               |
		|                             |
		|                             |
		+-----------------------------+

  1. Runs nmap using the awesome Ullaakut/nmap Idiomatic nmap library for go on the LAN.
  2. Generates a basic ASCII network diagram
  3. Generates a 'hand drawn' version of the ASCII network diagram using esimov/diagram
  4. Generates a bootstrap themed web report from the LAN scan using honze-net/nmap-bootstrap-xsl and xsltproc

How to use:

Pre-requisits
  1. If go is not installed, install go
  2. If diagram is not installed, install diagram
Usage from source
  1. 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

LAN_DRAWING


Notes:

  1. Requires esimov/diagram.
  2. 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)

FAQs

Package last updated on 27 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc