Skip to content

a script that generates all possible strings of specified lengths using a given character set and an optional prefix.

Notifications You must be signed in to change notification settings

tjaart-code/Brute-String-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Brute Force String Generator

This code produces all possible combinations of strings using a specified character set. It accepts a minimum and maximum length, a prefix, and an optional output file to save the generated strings.

Example Usage:


python3 bruteStringer.py 3 5 abc "pre_" output.txt
This command would:
Generate strings of length 3 to 5.
Use the character set abc (i.e., generate combinations of "a", "b", and "c").
Add the prefix "pre_" to each generated string.
Save the output to output.txt.

Sample Output:
For min_length=3, max_length=4, charset="abc", and prefix="pre_", the output in the file could look like this:
pre_aaa
pre_aab
pre_aac
pre_aba
pre_abb
...
pre_acc
pre_baa
pre_bab
...

About

a script that generates all possible strings of specified lengths using a given character set and an optional prefix.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages