Skip to content

sabt-dev/DisNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DisNet

DisNet is a Go-based network discovery and port-scanning utility. It performs optional host discovery for a CIDR range and then scans a selected host (or a provided host/domain) for open TCP ports.

Features

  • CIDR-based host discovery with selectable target
  • Direct scanning for a single host or domain
  • Concurrent TCP port scanning with a configurable range
  • Common service name mapping for well-known ports
  • Private/public IP classification

Requirements

  • Go 1.20+ (or a compatible version)
  • Administrator privileges (required by the current implementation)

Install

Clone the repository and build:

  1. git clone <repo-url>
  2. cd DisNet
  3. go build -o disnet

Usage

Run the executable and follow the prompts:

  1. Enter a CIDR block, host, or domain (e.g., 192.168.0.0/24 or example.com).
  2. Enter a port range (e.g., 20-80) or a single port.

Examples:

  • Scan a CIDR network, then select a discovered host: 192.168.0.0/24
  • Scan a single host: 192.168.1.10
  • Scan a domain: example.com

Notes

  • Host discovery uses ping with Windows-style flags. On non-Windows systems, adjust the command if needed.
  • Port scanning is TCP-based and uses a 1-second timeout per port by default.

Roadmap

  • Configurable timeouts and concurrency
  • Optional UDP scanning
  • Structured output (JSON/CSV)

Contributing

Pull requests are welcome. For major changes, open an issue first to discuss the proposal.

License

No license file is currently provided.

About

Network Discovery for detecting open ports and some network enumeration

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages