Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.16 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.16 KB

StringRex

Generates all strings that match a given regular expression. Useful to create a wordlist to recover a partially known password. It's based on the Generex library.

StringRex main window

Building

You can use the bundled gradle distribution to build.

Unix based:

./gradlew fatJar

Windows:

gradlew.bat fatJar

Usage

java -jar StringRex-*.jar <RegEx>

Prints the strings that match to STDOUT.

Running the jar with no arguments to open a small GUI. Enter the regular expression and press "Generate" to create the list of matches strings. Use the "Save to file"-Button to write a word list.

Limitations

The used RegEx syntax is described in the javadoc for the RegExp class. Note that it may differ from the syntax you are used to.

Warning There is no limitation on the complexity of your expression or the size of the result. Be careful when designing your RegEx, generating all matched strings may require a lot of memory/time.