Skip to content

MrGhostlyOrb/network-scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•΅οΈβ€β™‚οΈ Go Network Scan

A simple CLI and web-based tool to scan a subnet for available ports on reachable devices.

πŸ“¦ Features

  • πŸ” Scans a subnet for IPs with open ports
  • 🌐 Web interface for user-friendly scanning
  • πŸ’» CLI mode for quick terminal use
localhost_8009_scan(Nest Hub Max)

πŸš€ Usage

CLI Mode

Run with 2 arguments: <port> <subnet>

go run main.go 8000 1

This will scan 192.168.1.0/24 for anything broadcasting on port 8000.

Web Mode

Start the server:

go run main.go

Then open your browser and navigate to: http://localhost:8009

Use the form to scan a given port and subnet (e.g., port 8000, subnet 1).

🧠 Examples

CLI Output:

Running in CLI mode...
Valid addresses:
192.168.1.12
192.168.1.21

Web Output:

Results are shown as a list of clickable IP addresses.

πŸ”§ Configuration

Parameter Description
port Port to check (e.g. 8000)
subnet Subnet octet (e.g. 1 for 192.168.1.x)

πŸ“œ License

MIT β€” use freely, contribute gladly!

Let me know if you want badges, contribution guidelines, or Docker instructions added.

About

A simple CLI and web-based tool to scan a subnet for available ports on reachable devices.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published