0

I am trying to set up a wordlist of 8 character words where:

  • the first letter is a capital 'WXCVBN'
  • the next three are lower case 'wxcvbn'
  • the next three are numbers between '123456'
  • the last character has to be '*' or '!'.

I've been trying for the last hour to make it work properly going through the man pages and threads. But I can't seem to be able to get it to work.

crunch 8 8 + WXCVBN + wxcvbn + 123456 + *! -t,@@@%%%^

This is the last command I've tried. The capital letter works, and it knows which ones needs to be capital, lowercase, numbers. But at the second character, it starts from 'a'.

Example output: Wbpf557w

Anyone can help me with what I am doing wrong?

  • 1
    How about adding a bit of context so we know what you're talking about? Also, this isn't really a security question. You're just asking us to solve a specific non-security problem (You're either asking about an algorithmic problem or you want instructions on how to use a specific wordlist creation program). Please ask elsewhere (Super User Stack Exchange might be a place to go). – Out of Band Dec 7 '16 at 21:51
  • 2
    @Pascal because it's crunch it is possible for it to be on-topic here. This is generally one of the better phrased crunch questions we get. – schroeder Dec 7 '16 at 22:03
  • @Lor what do you mean by "But at the second character, it starts from 'a'." – schroeder Dec 7 '16 at 22:03
  • I'm not going to disagree with someone who has 38k reputation, though I'm tempted :-) – Out of Band Dec 7 '16 at 22:54
  • @schroeder first of all, thanks for cleaning up the post a bit. To get on topic again, by that phrase I mean that crunch is going through the whole alphabet instead of the lowercase 'wxcvbn', as you can see in the output I've posted within the thread. Now I've tried to fix that by trying to do the same as the examples from the crunch man pages, but can't seem to make it work properly. Any idea what I am doing wrong that it doesn't stick to the predefined letters/number/special? – Lorenzo Dec 8 '16 at 11:09
2

It looks like you are using the + wrong. From the man pages it looks like you should have the command as

crunch 8 8 wxcvbn WXCVBN 123456 *! -t,@@@%%%^

Edit: To explain: The + sign means default character set. Crunch wants the character sets defined in the order as lower case, upper case, numbers, symbols. Your original command had 8 character sets defined due to the plus signs and surprisingly crunch did not complain. What you actually asked for was "Use all lower case characters, use only WXCVBN for upper case characters, use all numbers, use only wxcvbn as symbols." It ignored the remaining character sets.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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