DocsCommandsPort Checker

Port Checker

The Port Checker module scans specified TCP ports on a target host and reports their open, closed or filtered state along with common service associations.

Usage

bash
python -m cyberx port <target> [options]

Examples

bash
# Check common ports\npython -m cyberx port example.com\n\n# Check specific ports\npython -m cyberx port example.com --ports 22,80,443,8080\n\n# Check a port range\npython -m cyberx port example.com --range 1-1024

Options

  • --ports LIST — Comma-separated list of ports
  • --range RANGE — Port range (e.g. 1-1024)
  • --timeout INT — Connection timeout per port in seconds
Only scan hosts you own or have explicit permission to test. Unauthorized port scanning may be illegal in your jurisdiction.