CTF-bash-tools
CTF-bash-tools copied to clipboard
capitalization removed
this script removes capitalization, for example if the starting names list has:
John Doe Amy Doe
it takes away the capitalized letters in the output formatted_name_wordlist.txt and turns them into
johndoe amydoe etc
any way for it to keep capitalization?
Also, it's easy to make two variations of the names with capitalization and without:
John Doe john doe Amy Doe amy doe
but it'd also be cool if it can take only one entry for each and output variations that have capitalization and non-capitalization results.
Hi!
Thanks for your issue.
This script was originally written for brute forcing usernames in Active Directory (SMB, LDAP, ...). In Active Directory, user names are not case-sensitive. This means that you can log in to the system using a user name in any combination of upper and lower case letters and it will be treated as the same name. Hence why this script lowers all capitalization.
I can see the use case for having case-insensitive iterations of usernames, hence why I would propose to add a flag -case-insensitive
to the script that allows for your use-case.
I sadly do not have time to implement this feature myself, but am very open to receiving and reviewing a PR.
Have a lovely 2023.