Brute Force only Certain Characters
#3
Hi,

When I try and run the command on Windows I receive the following message:

If you specify a custom charset, you must specify a mask.

What could be the cause of this, is it because I have a special character in the section !"£$%.

If yes how would I overcome this?

Kind Regards

(02-10-2021, 11:22 PM)slyexe Wrote:
(02-10-2021, 07:02 PM)UKLondon2025 Wrote: Hi All

I know that you can do a brute force via all characters:

hashcat -m <Code> -a 3 -1 -?l?u?d?s -3 ?d hashes.txt --potfile-disable ?1?1?1?1?1?1?1?1

However how can I only include certain characters in the search:

An Example:

ABCDEFabcdef12345!"£$%.

Kind Regards
you've already solved your own question by using custom character sets. Just choose between -1 -2 -3 and implement whatever character set you want. 
Code:
hashcat -m <Code> -a 3 -1 ABCDEFabcdef12345!"@%&*% -2 Xx0o -3 ?H?s hashes.txt --potfile-disable ?1?1?2?2?3?3?1?1?2?3?
Reply


Messages In This Thread
RE: Brute Force only Certain Characters - by UKLondon2025 - 02-12-2021, 01:02 AM