Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
open-ssh-user-enumeration — This script checks for the OpenSSH 7.7 (and prior) username enumeration vulnerability (CVE-2018-15473). It sends a malformed authentication packet and interprets the SSH server’s response to identify valid usernames. | Kitploit
Tools/GitHubGitHub/makmour/open-ssh-user-enumeration
ReconnaissanceVulnerability AnalysisExploitationInformation GatheringNetwork SecurityPenetration Testing
GitHubmakmour/open-ssh-user-enumeration

open-ssh-user-enumeration

Share

This script checks for the OpenSSH 7.7 (and prior) username enumeration vulnerability (CVE-2018-15473). It sends a malformed authentication packet and interprets the SSH server’s response to identify valid usernames.

View RepositoryWebsite
771 year agoNot yet reviewed

OpenSSH Username Enumeration Script (CVE-2018-15473)

This script checks for the OpenSSH 7.7 (and prior) username enumeration vulnerability (CVE-2018-15473). It sends a malformed authentication packet and interprets the SSH server’s response to identify valid usernames.


original code:

https://www.exploit-db.com/download/45233

Updates

  1. Python Compatibility Converted all print statements to Python 3 syntax (print("...")). Replaced map(str.strip, f.readlines()) with a list comprehension for clarity and compatibility.

  2. Paramiko 3.x+ Compatibility Replaced:

paramiko.auth_handler.AuthHandler._handler_table[...]

with:

from paramiko.auth_handler import AuthHandler
client_table = AuthHandler._client_handler_table.fget(AuthHandler)

This avoids TypeError: 'property' object is not subscriptable.

  1. Replaced direct patching: handler_table[MSG_SERVICE_ACCEPT] = malform_packet with client_table[paramiko.common.MSG_SERVICE_ACCEPT] = malform_packet

  2. RSA Key Generation Optimization Avoided repeated generation of 1024-bit RSA keys (slow and insecure). Introduced a cached 2048-bit RSAKey for testing.

  3. Logging & Output Fixes Removed reliance on args.outputFile being mandatory. Added fallback to sys.stdout if --outputFile is not provided.

  4. Minor fixes Disabled Paramiko's noisy internal logging. Replaced deprecated or redundant exception-handling patterns. Applied consistent spacing/indentation (converted all tabs to 4 spaces).

Requirements

  • Python 3.6+
  • Paramiko (tested with v3.4.0+)

Install dependencies:

pip3 install -r requirements.txt

Usage

Basic

python3 open-ssh-ue.py <hostname> --userList wordlist.txt

Full Example

python3 open-ssh-ue.py hostname \
  --userList wordlist.txt \
  --threads 10 \
  --outputFile results.json \
  --outputFormat json

Arguments

Positional

  • hostname: The target SSH server IP or domain.

Optional

  • --port: SSH port (default is 22)
  • --threads: Number of concurrent threads (default is 5)
  • --userList: Path to a username list file (one username per line)
  • --username: Test a single username
  • --outputFile: Path to save results (optional; prints to terminal if omitted)
  • --outputFormat: Output format: list, json, or csv (default: list)

Output Formats

  • list: Plain text per-username result
  • json: Structured list of valid/invalid usernames
  • csv: Comma-separated values

Legal Disclaimer

Use this tool only on systems you own or have explicit permission to test. Unauthorized use is illegal and unethical.


Reference

  • CVE-2018-15473 – OpenSSH Username Enumeration
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    930
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    554
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    354
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    349
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →