Skip to main content

This package builds custom WordLists (for BruteForce).

Project description

WordListGenerator logo

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

WordListGenerator-0.1.0.tar.gz (19.2 kB view details)

Uploaded Source

File details

Details for the file WordListGenerator-0.1.0.tar.gz.

File metadata

  • Download URL: WordListGenerator-0.1.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for WordListGenerator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0ab2fe81381143703eacce900b59affe44429a8bd682625798621d29296aed31
MD5 bf5e079f861d1002b4f7055ef6e9c362
BLAKE2b-256 9226c0434bc8ac03b4023d1ce6f4b74387417dcd4d76b6363a68fd2826f529a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page