networkscan

command module
v0.0.93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

README

networkscan

GitHub Release Verify Go Report Card

GitHub Downloads Docker Pulls

networkscan offers security teams a data-rich network scanning and enumeration techniques to help them gain visibility into all of their cloud and on-premise environments. Designed with data-modeling and data-integration needs in mind, networkscan can be used on its own as an interactive CLI, orchestrated as part of a broader data pipeline, or leveraged from within the Method Platform.

The types of scans that networkscan can conduct are constantly growing. For the most up to date listing, please see the documentation here

To learn more about networkscan, please see the Documentation site for the most detailed information.

Quick Start

Get networkscan

For the full list of available installation options, please see the Installation page. For convenience, here are some of the most commonly used options:

General Usage

networkscan [command] [subcommand] <flags>
Examples
# Network Discovery
networkscan discover host --target 192.168.1.0/24 --scan-type ICMP_ECHO
networkscan discover port --target scanme.sh --top-ports 100
networkscan discover service --target scanme.sh:22
networkscan discover tls --targets scanme.sh:443
networkscan discover domain --target 192.168.1.1

# Service Enumeration
networkscan enumerate service --targets 192.168.1.10:22,192.168.1.11:21 --service ssh

# Penetration Testing - Credential Spraying
networkscan pentest spray password --targets 192.168.1.0/24 --service SMB --usernames admin,guest --passwords Password123,123456
networkscan pentest spray username --targets dc.example.com:88 --service KERBEROS --domain EXAMPLE.COM --usernames admin,guest

# Penetration Testing - Service Specific
networkscan pentest service smb --targets 192.168.1.100:445 --usernames admin --passwords password --actions AUTHENTICATE,SHARE_ENUM
networkscan pentest service ssh --targets 192.168.1.100:22 --usernames root --passwords password --actions AUTHENTICATE,EXECUTE --execute "whoami"
networkscan pentest service ldap --targets dc.example.com:389 --usernames user --passwords pass --domain EXAMPLE.COM --actions DOMAINDUMP
networkscan pentest service msrpc --targets dc.example.com:445 --usernames admin --passwords Password123 --domain EXAMPLE.COM --actions DCSYNC
networkscan pentest service kerberos --targets dc.example.com:88 --usernames user --passwords pass --domain EXAMPLE.COM --actions SERVICE_TICKET --spn HTTP/server.example.com

Contributing

Interested in contributing to networkscan? Please see our organization wide Contribution page.

Want More?

If you're looking for an easy way to tie networkscan into your broader cybersecurity workflows, or want to leverage some autonomy to improve your overall security posture, you'll love the broader Method Platform.

For more information, visit us here

Community

networkscan is a Method Security open source project.

Learn more about Method's open source source work by checking out our other projects here or our organization wide documentation here.

Have an idea for a Tool to contribute? Open a Discussion here.

Documentation

Overview

Package main is the entry point for the networkscan application.

Directories

Path Synopsis
Package cmd implements the CobraCLI commands for the networkscan CLI.
Package cmd implements the CobraCLI commands for the networkscan CLI.
internal
config
Package config contains common configuration values that are used by the various commands and subcommands in the CLI.
Package config contains common configuration values that are used by the various commands and subcommands in the CLI.
discover
Package discover implements network discovery functionality for finding live hosts and services.
Package discover implements network discovery functionality for finding live hosts and services.
discover/host
Package discover implements network discovery functionality for finding live hosts and services.
Package discover implements network discovery functionality for finding live hosts and services.
discover/service
Package service implements service fingerprinting functionality for discovering running services.
Package service implements service fingerprinting functionality for discovering running services.
discover/service/plugins
Package plugins provides gRPC service fingerprinting by issuing a Server-Reflection ListServices request.
Package plugins provides gRPC service fingerprinting by issuing a Server-Reflection ListServices request.
discover/service/plugins/fingerprintx
Package fingerprintx provides Kerberos service fingerprinting for fingerprintx
Package fingerprintx provides Kerberos service fingerprinting for fingerprintx
enumerate
Package enumerate implements service enumeration functionality for various network protocols.
Package enumerate implements service enumeration functionality for various network protocols.
protocol/smb
Package smb provides SMB penetration testing functionality including secdump operations This file contains utility functions adapted from github.com/jfjallid/go-secdump
Package smb provides SMB penetration testing functionality including secdump operations This file contains utility functions adapted from github.com/jfjallid/go-secdump
Package utils provides utility functions used across the networkscan application.
Package utils provides utility functions used across the networkscan application.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL