3

Is it possible for me to customize the way John the Ripper brute forces a .cap file? I, knowing my WiFi password, want to crack it fast as possible (no hit with word list).

Can I customize John to only try with 4 numbers and 5 letters in a 9 character password?

I've searched and read a lot of posts, but nothing seems to match my question. Also, doesn't matter if it's John, Hashcat or any other cracker.

Adam Caudill
  • 1,794
  • 14
  • 18
hawk9
  • 31
  • 1
  • Check http://security.stackexchange.com/questions/47416/cracking-passwords-after-a-pattern-with-john – user2339071 Dec 30 '15 at 07:54
  • The thing is i dont know if it's ?u?l?l?l?d?d?d, like the example in the linked thread. I just know it's 4 number and 5 letters. I do not know the order. – hawk9 Dec 30 '15 at 08:11

1 Answers1

2

There's no native way to create a single variable-content mask with John or hashcat. Instead, you can generate a set of all possible masks that fit your criteria. See my answer here.

In your case, the policygen command might look something like the following (assuming lower case):

$ policygen --minlength=9 --maxlength=9 \
  --mindigit=4 --maxdigit 4 --minlower=5 --maxlower 5 \
  --maxupper=0 --maxspecial=0 -o target.masks
Royce Williams
  • 9,128
  • 1
  • 31
  • 55