-1

I want to crack a hash where the cleartext contains:

  • starts with a capital letter
  • the next 8 or less than 8 small letters
  • then 5 or less than 5 numbers
  • and ends with ! (exclamation mark)

I want to use a brute force attack.

So please give me a proper syntax for this asap.

Saurabh007
  • 11
  • 2
  • you create a password file using a bash script to iterate through what you specified, then feed that file to hashcat – schroeder Sep 24 '16 at 21:15

1 Answers1

1

This is pretty simple: ?u?l?l?l?l?l?l?l?l?d?d?d?d?d!

Reference: Hashcat: Mask Attack

techraf
  • 9,141
  • 11
  • 44
  • 62
atom
  • 181
  • 2
  • Thanks for the answer but what if the small numbers are 8 or less than 8, and what if the numbers are 5 or less than 5. Please answer me asap. – Saurabh007 Sep 28 '16 at 07:22
  • 1
    If you don't want to check all numbers 0-9 you can define a custom character set, example: -1 012345 and then use ?1 instead of ?d. For example: -1 012345 ?u?l?l?l?l?l?l?l?l?1?1?1?1?1! – atom Jun 25 '17 at 12:19