WordListGenerator
Description
This package build a custom WordList (BruteForce).
With this WordListGenerator you can build your custom wordlist with:
- wordlist in pattern (file)
- some specific words/strings (command line)
- custom characters enumerator
- maximum length/time
Requirements
This package require :
- python3
- python3 Standard Library
Installation
pip install WordListGenerator
Usages
Command line:
WordListGenerator -p "abc%(digits)"
python3 -m WordListGenerator --pattern "abc%(ascii_lowercase)"
Python script
from WordListGenerator import WordList
wordlist = WordList(
{
"%(abc)": PatternEnumerator("abc", "[a-c]", False, None),
"%(file)": PatternEnumerator("file", None, True, "test.txt"),
},
filename="abc.txt",
delimiter="\n",
max_words=5,
max_time=0.003,
encoding="utf-8",
)
wordlist.run("abc%(abc)%(file)%(digits)")
Command line examples
WordListGenerator -p "abc%(digits)" # Default digits enumerator
WordListGenerator -p "abc%(ascii_lowercase)" # Default letters (lower) enumerator
WordListGenerator -p "abc%(ascii_uppercase)" # Default letters (upper) enumerator
WordListGenerator -p "abc%(ascii_visible)" # Default ascii enumerator
WordListGenerator -p "abc%(punctuation)" # Default ascii punctuation enumerator
WordListGenerator -e "a=abc" -p "abc%(a)" # Custom named enumerator (enumerate on "a", "b" and "c") (name: "a")
WordListGenerator -e "enumABC=abc" "enum123=123" -p "abc%(enumABC)%(enum123)" # Multiple named enumerators
WordListGenerator -e "abc" "123" -p "abc%(abc)%(123)" # Multiple enumerator (not named)
WordListGenerator -e "enumABC=[a-c]" "enum123=[1-3]" -p "abc%(enumABC)%(enum123)" # Using character pattern for enumerator ("[1-3]" = "1", "2" and "3"; "[a-c]" = "a", "b" and "c")
WordListGenerator -e "enumABC&CBA=(ABC|CBA)" "enum123=[1-3]" -p "abc%(enumABC&CBA)%(enum123)" # Using word pattern for enumerator ("(ABC|CBA)" = "ABC" and "CBA")
WordListGenerator -w "a=test.txt" -p "abc%(a)" # Using named wordlist
WordListGenerator -e "abc" "123" -m 5 -p "abc%(abc)%(123)" # Using max length
WordListGenerator -e "abc" "123" -t 0.0003 -p "abc%(abc)%(123)" # Using max time
WordListGenerator -e "abc" "123" -f "abc.txt" -p "abc%(abc)%(123)" # Save in file "abc.txt"
WordListGenerator -e "abc" "123" -E "ascii" -p "abc%(abc)%(123)" # Use ascii encoding
WordListGenerator -e "abc" "123" -d "," -p "abc%(abc)%(123)" # Use custom delimiter
WordListGenerator -e "abc" "123" -p "abc%(abc){3}%(123)" # Repeat a pattern
Links
Licence
Licensed under the GPL, version 3.
Metadata
Release files for WordListGenerator 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| WordListGenerator-0.1.0.tar.gz | 19.2 kB | Without provenance | Details for WordListGenerator-0.1.0.tar.gz |
Release files / WordListGenerator-0.1.0.tar.gz
| Download URL | WordListGenerator-0.1.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ab2fe81381143703eacce900b59affe44429a8bd682625798621d29296aed31
|
|
BLAKE2b-256 checksum How to use checksums |
9226c0434bc8ac03b4023d1ce6f4b74387417dcd4d76b6363a68fd2826f529a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for WordListGenerator 0.1.0
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.