Custom Rule Sets in JohnTheRipper

Posted by user854619 on Super User See other posts from Super User or by user854619
Published on 2011-07-20T19:20:01Z Indexed on 2011/11/12 1:59 UTC
Read the original article Hit count: 220

I'm trying to create a custom rule set to do hash cracking. I have a SHA1 hash and a rule set that was enforced to create the password.

The password must be of the form,

  • 6-8 characters
  • Every other letter changes case
  • Password "shifts" characters at least one degree and at most three
  • One odd number and one even number are at the beginning of the password
  • One special character and one punctuation character are appended to the end of the password

How can I defined a brute force attack in JohnTheRipper or similar hash cracking program? I've also attempted to write code to generate a wordlist of possible passwords, with no success.

Thanks!

© Super User or respective owner

Related posts about hashing

Related posts about cryptography