Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.


fuse
Generate wordlists from concise expressions

Installation    •    Usage    •    Contributing

demo

Installation

Method Notes
pipx install fuse-tool pip may be used in place of pipx
git clone https://github.com/pwnfo/fuse.git && cd fuse && pip install . Clone and install directly from GitHub

General usage

To generate a wordlist from a simple expression:

fuse "/l{2,4}"

To combine files with generators:

fuse "^:^" names.txt pass.txt

Outputs can be manipulated, filtered, and saved.

$ fuse --help
usage: fuse [options] <expression> [<files...>]

 ___  _ _  __  ___ 
| __|| | |/ _|| __|
| _| | U |\_ \| _| 
|_|  |___||__/|___|
                    v2.1.0

  -h, --help            show this help message and exit
  -v, --version         show version message and exit
  -o, --output <path>   write the wordlist in the file
  -f, --file <path>     files with different expressions
  -q, --quiet           use quiet mode
  -s, --separator <word>
                        separator between entries
  -b, --buffer <bytes>  buffer size in wordlist generation
  -w, --workers <1-64>  number of workers (default is 1)
  -F, --filter <regex>  filter generated words using a regex
  --from <word>         start writing the wordlist with <word>
  --to <word>           ends writing the wordlist with <word>

Powerful pattern-based wordlist generation tool.
Developed by Ryan R. <pwnfo@proton.me>

Expression basics

  • Literal characters produce themselves.
  • Built-in classes and bracketed classes [...] produce one item per position.
  • Concatenation combines positions: each position picks one value from its token and concatenates.

Example:

$ fuse "/l{2,3}"
# output: aa, ab, ac, ..., ZY, ZZ

Character classes

Symbol Meaning
/l letters (a–z, A–Z)
/a lowercase letters (a–z)
/A uppercase letters (A–Z)
/d digits (0–9)
/h lowercase hexadecimal (0–9, a–f)
/H uppercase hexadecimal (0–9, A–F)
/s space
/o octal digits (0–7)
/p special characters
/N newline (\n)

Example: /l/l generates all two-letter combinations (upper and lower case).

Custom classes and unions

  • [abc] selects one character from a, b, or c.
  • Use | to separate full-word alternatives (each treated as a multi-character token):
    • [admin|root|123] inserts admin OR root OR 123 at that point.

Quantifiers

  • {N} — repeat exactly N times
  • {min,max} — repeat between min and max times (inclusive)
  • ? — optional (0 or 1 time)

Examples:

$ fuse "[XYZ]{3}"         # XXX, XXY, ..., ZZZ
$ fuse "[XYZ]{2,5}"       # XY, XZ, ..., XYZXY
$ fuse "Ryan?/d"          # Rya0, Rya1, ..., Ryan9
$ fuse "[XYZ]?Ryan"       # Ryan, XRyan, YRyan, ZRyan

Numeric ranges

  • #[1-10] → generates 1,2,3,4,5,6,7,8,9,10
  • #[1-10:2] → generates 1,3,5,7,9
  • #[2-10:2] → generates 2,4,6,8,10

These numeric ranges can be used in any position of an expression.

Files and placeholders

Use ^ in an expression as a placeholder for the next file argument. Each ^ consumes one file and iterates over its lines:

$ fuse "^/d" names.txt
# output: Bob0, Bob1, ..., Ana0, Ana1, ...

$ fuse "^-^" names.txt years.txt
# output: Bob-1990, Ana-1991, Ryan-1992, ...

Prefix a filename with // to treat it as an inline expression instead of a file path.

Escaping special characters

Use \ to escape special characters.

$ fuse "\/d/d"
# output: /d/0, /d/1, ..., /d/9

Contributing

We welcome contributions to Fuse! Whether it's adding new features, improving documentation, or fixing bugs, your help is appreciated. Feel free to open an issue or submit a pull request on our GitHub repository at pwnfo/fuse.

Star History

Fuse Project Star History Chart

License

MIT © Ryan R. <pwnfo@proton.me>

Metadata

Release files for fuse-tool 3.1.2

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

Source distribution (sdist)

Source distribution for fuse-tool 3.1.2
File Size Uploaded Provenance Actions
fuse_tool-3.1.2.tar.gz 16.9 kB Without provenance Details for fuse_tool-3.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fuse-tool 3.1.2
File Interpreter ABI Platform Actions
fuse_tool-3.1.2-py3-none-any.whl Python 3 none any Details for fuse_tool-3.1.2-py3-none-any.whl

Total release size: 35.6 kB

Release files / fuse_tool-3.1.2.tar.gz

Download URL fuse_tool-3.1.2.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8132aaba24586548ac91a67aeef8106ae02b6ee39ce389fc314f02861e304f6c
BLAKE2b-256 checksum
How to use checksums
c74c0045e41c073da33ebc03c792ef2e1a5cffafd074c509063731ca0e199c79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.5 Linux/6.12.73+deb13-amd64

Release files / fuse_tool-3.1.2-py3-none-any.whl

Download URL fuse_tool-3.1.2-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e85c055c8a053e42363147d1430f9d5b2d229af6a37584930563ee3a92421f87
BLAKE2b-256 checksum
How to use checksums
5d0c90134a0b99613841d9d8474dc92052284cdbedd665bae3079dedd63a8337
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.5 Linux/6.12.73+deb13-amd64

Security for fuse-tool 3.1.2

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.

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