Unlock Cybersecurity Power with pydictor: The Ultimate Password Dictionary Generator
What is pydictor?
pydictor is an open-source password dictionary generator written in Python that enables security professionals to create highly customized wordlists for penetration testing and cybersecurity research. This powerful tool transforms how security experts approach brute-force attacks by providing unprecedented flexibility in dictionary creation.
Unlike basic password generators, pydictor offers granular control over every aspect of dictionary generation. Whether you need simple number combinations, complex social engineering-based dictionaries, or website-specific wordlists, pydictor delivers precise results tailored to your security testing requirements.
# Install pydictor
git clone --depth=1 --branch=master https://www.github.com/landgrey/pydictor.git
cd pydictor/
chmod +x pydictor.py
python pydictor.py
Core Functionality Explained
1. Comprehensive Dictionary Generation
pydictor offers multiple generation modes to suit various cybersecurity scenarios:
Type | Identifier | Function |
---|---|---|
Base Dictionary | C1 | Generates fundamental password combinations |
Permutation Engine | C3 | Creates character permutation dictionaries |
Configuration Syntax | C4 | Produces customized dictionaries using config files |
Rule Extension | C6 | Generates complex passwords using rule-based expansion |
Social Engineering | C7 | Creates targeted dictionaries using personal information patterns |
2. Advanced Dictionary Processing
Beyond generation, pydictor provides robust processing tools:
Tool | Function |
---|---|
Combiner | Merges multiple dictionary files |
Uniqifer | Removes duplicate password entries |
Counter | Analyzes password frequency patterns |
Handler | Filters and processes existing dictionaries |
Printabler | Filters non-printable characters |
3. Customizable Password Rules
pydictor enables precise control over password characteristics:
# Set password length range
--len 6 12
# Add prefix/suffix elements
--head "2023" --tail "!"
# Define character occurrence limits
--occur ">=4" "<6" "==0"
# Apply regex filtering
--regex "^z.*?g$"
Leet Mode: Intelligent Character Substitution
pydictor’s leet mode stands out as a signature feature, transforming characters into visually similar numbers or symbols to increase dictionary effectiveness. Default substitution rules include:
a = 4
b = 6
e = 3
l = 1
i = 1
o = 0
s = 5
Multiple substitution strategies accommodate diverse testing requirements:
Mode | Strategy | Example (“as”) |
---|---|---|
0 | Full substitution | 45 |
1 | Left-to-right first occurrence | 4s |
2 | Right-to-left first occurrence | a5 |
11-19 | Left-to-right limited substitution | 11:4s, 12:4s etc. |
Encryption & Encoding Capabilities
pydictor supports multiple encoding and encryption methods:
Method | Description |
---|---|
Base64 | Base64 encoding |
MD5 | Generates 32-bit or 16-bit MD5 hashes |
SHA Series | Supports SHA1/SHA256/SHA512 hashing |
URL Encoding | Encodes special characters for URLs |
Custom Scripts | Add your own encryption methods |
Social Engineering Dictionary Generation
pydictor’s social engineering module creates highly targeted dictionaries by incorporating personal information patterns. By analyzing names, birthdates, pet names, and hobbies, it generates psychologically plausible password combinations that mirror real human behavior.

Practical Application Scenarios
1. Penetration Testing
Security teams use pydictor to generate system-specific dictionaries for vulnerability assessments and brute-force resistance testing.
2. Account Security Auditing
Organizations leverage custom dictionaries to audit employee password strength and compliance with security policies.
3. Security Research
Researchers analyze password patterns to study human behavior in credential creation and identify common weaknesses.
4. Personal Security Enhancement
Individuals generate personalized dictionaries to test their own account vulnerabilities and improve password practices.
Installation & Usage Guide
1. Environment Preparation
Ensure Python 2.7 or 3.4+ is installed:
python --version
2. Download pydictor
Clone the repository:
git clone --depth=1 --branch=master https://www.github.com/landgrey/pydictor.git
3. Execute Tool
Navigate directory and run:
cd pydictor/
chmod +x pydictor.py
python pydictor.py
4. Generate Basic Dictionary
Create 6-8 digit number passwords:
python pydictor.py -base --len 6 8 --char digit
5. Create Social Engineering Dictionary
Generate personalized dictionaries:
python pydictor.py -sedb
Advanced Configuration Techniques
1. Custom Character Sets
Modify configuration files in /funcfg/
to define character sets:
# Custom character set example
[custom_charset]
upper = ABCDEFGHIJKLMNOPQRSTUVWXYZ
lower = abcdefghijklmnopqrstuvwxyz
digit = 0123456789
special = !@#$%^&*()
2. Extended Rule Configuration
Create sophisticated password rules via extend.conf
:
# Rule extension example
[rule1]
level = 3
head = 2023
tail = !
encode = b64
3. Custom Plugin Development
Extend functionality by adding Python scripts in /plugins/
:
# Custom plugin example
def custom_plugin():
# Plugin logic
return generated_passwords
Legal & Ethical Considerations
Critical Notice: pydictor must be used responsibly and legally:
-
Authorization Required: Unauthorized system testing is illegal -
Proper Usage: Only use for legitimate security research and authorized testing -
Liability: Developers bear no responsibility for misuse -
License: Released under GPL v3 open-source license
Why Choose pydictor?
1. Unmatched Customization
pydictor offers unprecedented control over dictionary generation:
-
Password length parameters -
Character type composition -
Special character implementation -
Prefix/suffix integration -
Encoding/encryption methods
2. Comprehensive Processing Capabilities
Beyond generation, pydictor provides advanced dictionary management:
-
Multi-file merging -
Duplicate removal -
Rule-based filtering -
Statistical frequency analysis -
Special character handling
3. Cross-Platform Compatibility
pydictor runs seamlessly on Windows, Linux, and macOS systems, supporting both Python 2.7 and 3.4+ environments.
4. Active Development
As an open-source project, pydictor benefits from continuous community-driven enhancement and regular updates.
Professional Tips & Techniques
1. Password Complexity Control
Use --types
to enforce character diversity:
# Require at least 3 character types
--types ">=1" ">=1" ">=1"
2. Sequential Character Limits
Prevent character runs with --repeat
:
# Limit consecutive letters to ≤3
--repeat "<=3" ">=0" ">=0"
3. Smart Dictionary Merging
Combine dictionaries efficiently:
python pydictor.py -tool hybrider --file dict1.txt dict2.txt
4. Password Strength Analysis
Evaluate dictionary effectiveness:
python pydictor.py -tool counter --file passwords.txt
Conclusion
pydictor represents a quantum leap in password dictionary generation, offering security professionals unparalleled flexibility in creating targeted wordlists for ethical security testing. By mastering its comprehensive feature set, you’ll significantly enhance your cybersecurity toolkit.
Remember: With great power comes great responsibility. Always use pydictor within legal boundaries and ethical guidelines for authorized security testing only.

Technical Resources:
-
Project Repository: https://github.com/landgrey/pydictor -
Usage Documentation: https://github.com/landgrey/pydictor/docs/doc/usage.md -
Plugin Development: https://github.com/landgrey/pydictor/docs/doc/api.md