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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2016-20012 — Python script for SSH username enumeration using timing-based analysis to identify valid accounts on a target server. | Kitploit
Tools/GitHubGitHub/arturo-b-cmu/cve-2016-20012
ReconnaissanceVulnerability AnalysisInformation GatheringNetwork SecurityPenetration TestingAuthentication
GitHubarturo-b-cmu/cve-2016-20012

cve-2016-20012

Python script for SSH username enumeration using timing-based analysis to identify valid accounts on a target server.

View Repository
131 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2016-20012 SSH Username Enumeration Script

This Python script attempts to enumerate valid usernames on an SSH server by trying to connect with an invalid password. It measures the response time for each username to identify possible valid accounts based on server behavior.

Table of Contents

  • Overview
  • How It Works
  • Requirements
  • Setup and Usage
  • Disclaimer

Overview

This script performs SSH username enumeration by leveraging the paramiko library. It attempts to connect to an SSH server using usernames from a provided wordlist and an invalid password. The response times for each attempt are collected, and the average and standard deviation of the response times are calculated.

This script can be useful for security researchers or penetration testers to check if certain usernames exist on the target system by identifying differences in server response times.

How It Works

  1. SSH Client: The script uses paramiko.SSHClient() to initiate an SSH connection to a specified hostname and port.
  2. Invalid Password: For each username from the wordlist, the script tries to authenticate with an invalid password.
  3. Response Time: The time taken for each connection attempt is recorded.
  4. AuthenticationException: The script expects an AuthenticationException when using an invalid password. If other errors occur, they are reported and the script stops.
  5. Statistics: For each username, the script calculates the average response time and standard deviation over multiple attempts.

Requirements

To run this script, you need to have the following installed on your machine:

  • Python 3.x
  • The following Python libraries:
    • paramiko
    • statistics
    • os
    • time

You can install the necessary dependencies using the following command:

pip install paramiko
Download Tool