Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Group, I have a SHA1 hash that I would like to brute-force. I have knowledge of several characters before and after the password (ie, if the hash is derived from "xxxpasswordyyy", I know both xxx and yyy). I'd like to somehow input the xxx and yyy values as constants, so that they are always included in the crack attempt but the "password" portion is brute-forced.

Any examples of how to do this?

share|improve this question

Check out the wordlist rules documentation. Based on this, you'd add a line to your rules that read A0"prefixed_text"Az"postfixed_text". Refer to KoreLogic's rules info for more examples of configuration lines and the format to specify the rule in. You can either add it to a set of existing rules you're already using or specify a new ruleset and use just that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.