Skip to main content

Oopa - Wordlist Analyzer

Overview

Oopa is a tool for studying password classification through the automated analysis of wordlists. It is highly modular, allowing open source contributors to write their own analyzers in Python with minimal effort. It supports user-supplied encoding and output can be heavily customized.

By design, this project has only one direct dependency and that is prettytable.

Installation

From PyPi

This script is distributed on PyPi and can be installed from there.

pip install oopa

From Source

Alternatively, you can install from source.

pip install .

or simply run the script from the bin/ directly in the source code.

Usage

You specify a module with the --analysis argument. Default output is top 10.

$ oopa --analysis keyword wordlists/phpbb.txt 
+----------+-------+
| Keyword  | Count |
+----------+-------+
|  phpbb   |  332  |
|   php    |  127  |
| password |   89  |
|  dragon  |   76  |
|   pass   |   70  |
|   mike   |   69  |
|   blue   |   67  |
|   test   |   66  |
|  qwerty  |   59  |
|   alex   |   58  |
+----------+-------+

You can view the same data in a more parse-friendly format with --greppable.

$ python oopa.py --analysis keyword wordlists/phpbb.txt --greppable
#Keyword:Count
phpbb:332
php:127
password:89
dragon:76
pass:70
mike:69
blue:67
test:66
qwerty:59
alex:58

You can change the number of results with --top.

$ python oopa.py --analysis length wordlists/phpbb.txt --top 20
+--------+------------+-------+
| Length | Percentage | Count |
+--------+------------+-------+
|   1    |    0.02    |   32  |
|   2    |    0.07    |  137  |
|   3    |    0.42    |  776  |
|   4    |    2.49    |  4598 |
|   5    |    4.45    |  8198 |
|   6    |   22.82    | 42070 |
|   7    |   17.75    | 32731 |
|   8    |   30.01    | 55338 |
|   9    |   10.41    | 19188 |
|   10   |    6.45    | 11896 |
|   11   |    2.68    |  4933 |
|   12   |    1.36    |  2505 |
|   13   |    0.55    |  1018 |
|   14   |    0.28    |  515  |
|   15   |    0.13    |  232  |
|   16   |    0.07    |  125  |
|   17   |    0.02    |   36  |
|   18   |    0.01    |   27  |
|   19   |    0.0     |   9   |
|   20   |    0.0     |   8   |
+--------+------------+-------+

You can change the column sorting is based on with --sort.

$ python oopa.py --analysis length wordlists/phpbb.txt  --sort Count
+--------+------------+-------+
| Length | Percentage | Count |
+--------+------------+-------+
|   8    |   30.01    | 55338 |
|   6    |   22.82    | 42070 |
|   7    |   17.75    | 32731 |
|   9    |   10.41    | 19188 |
|   10   |    6.45    | 11896 |
|   5    |    4.45    |  8198 |
|   11   |    2.68    |  4933 |
|   4    |    2.49    |  4598 |
|   12   |    1.36    |  2505 |
|   13   |    0.55    |  1018 |
+--------+------------+-------+

Name

OOPA was briefly an acronym, but I soon forgot what it stood for.

Distribution

pip install setuptools wheel twine
python setup.py sdist bdist_wheel
twine upload dist/*

Metadata

Release files for oopa 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for oopa 2.0.1
File Interpreter ABI Platform Actions
oopa-2.0.1-py3-none-any.whl Python 3 none any Details for oopa-2.0.1-py3-none-any.whl

Release files / oopa-2.0.1-py3-none-any.whl

Download URL oopa-2.0.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bfee890cb8c1f448e5cb39a2c37a530b577e0c87f2f8c3f326d7d83082f3b56
BLAKE2b-256 checksum
How to use checksums
c9cca69b7b8892dd59988c60f142a9a510bb8f7c3cb35b9c460de1346c50f96a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Security for oopa 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page