Skip to main content

PortProbe — Network scanner written in pure Python

Project description

PortProbe

PortProbe is a network scanner written in pure Python. It provides various network scanning capabilities including port scanning, host discovery, and service enumeration.

Features

  • TCP and UDP port scanning
  • Service banner grabbing
  • OS detection via TTL fingerprinting
  • Interactive terminal mode
  • JSON and simple text output formats
  • CIDR range scanning
  • Multi-threaded scanning
  • Windows PATH integration

Using pip

pip install portprobe

Usage

Command Line

# Basic port scan
portprobe scan -u example.com

# Scan specific ports
portprobe scan -i 192.168.1.1 -p 22,80,443

# UDP scan
portprobe scan -u example.com -p top100 --udp

# Ping host
portprobe ping -u example.com -p 443

# Resolve hostname
portprobe resolve -u example.com

# Interactive mode
portprobe -terminal

Windows PATH Integration

To add PortProbe to your Windows PATH (requires administrator privileges):

portprobe --path

To remove from PATH:

portprobe --rpath

Port Presets

  • top100: Most common 100 ports
  • top1000: Ports 1-1000
  • web: HTTP/HTTPS ports
  • db: Database ports
  • mail: Mail server ports
  • ssh: SSH ports
  • ftp: FTP ports
  • all: All 65535 ports (slow!)

Examples

# Scan top 100 ports on example.com
portprobe scan -u example.com

# Scan web ports on a subnet
portprobe scan -i 192.168.1.0/24 -p web

# UDP scan with banners
portprobe scan -u example.com -p top100 --udp --banners

# JSON output
portprobe scan -i 10.0.0.1 -p 1-1024 --json

# Save results to file
portprobe scan -u example.com -p top100 -o results.txt

Requirements

  • Python 3.6+
  • No external dependencies (uses only standard library)

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

portprobe-1.0.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

portprobe-1.0.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file portprobe-1.0.0.tar.gz.

File metadata

  • Download URL: portprobe-1.0.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for portprobe-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5186ed7d878a1a014da7f5b0f4f98fdaad016adf75697a795fdbf6dd457f8778
MD5 fadf218d86e0276d3b90c7f8a657f800
BLAKE2b-256 acffa05330886ba16fb84704086c3c89a4ae9e0ff15787735527d5d0e84e3912

See more details on using hashes here.

File details

Details for the file portprobe-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: portprobe-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for portprobe-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ef717d668d9d244497d5d2631e356b10db7d20a57514a546032dd738f0c6cb6
MD5 66d57a92f6d84ff7708d6285c18cc96f
BLAKE2b-256 80350e038287820a343f01926d846f9745dfaa94e574cd6a4bc10c1b15f98593

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page