How to efficiently expand charset?
#2
[Moderator note: Bad and incorrect answer - and clearly AI/LLM generated, which is against forum rules.]

To re-run the mask and eliminate candidates without the new symbols, you can use the following steps:

Create a new charset file with the expanded special characters:
?l?u?d!#$%*&()
Save this file as charset2.hcchr.

Run the following command:
hashcat --custom-charset1=charset2.hcchr --custom-charset2=charset.hcchr -a 3 --increment -m 13400 -o cracked_output.txt --outfile-format 2 keepass.hash ?1?1?1?1?1?1?1?1?1?1

This command will use the new charset file to eliminate candidates without the new symbols.

You can also use the -r option to specify a regular expression to match the passwords. For example, the following command will match passwords that contain at least one special character:

hashcat --custom-charset1=charset2.hcchr --custom-charset2=charset.hcchr -a 3 --increment -m 13400 -r "!#$%*&()" -o cracked_output.txt --outfile-format 2 keepass.hash ?1?1?1?1?1?1?1?1?1?1

This can be helpful to reduce the number of candidates that Hashcat needs to try.

Please note that cracking Keepass hashes can be very difficult, and it may take a long time to find the original password, even with a small charset.
Reply


Messages In This Thread
How to efficiently expand charset? - by ldaberko - 10-13-2023, 03:25 AM
RE: How to efficiently expand charset? - by marc1n - 10-14-2023, 10:20 AM
RE: How to efficiently expand charset? - by royce - 10-15-2023, 10:01 PM
RE: How to efficiently expand charset? - by royce - 11-02-2023, 06:43 PM