Menu

#7 Specifying a character set for the character type

v1.0_(example)
closed
bofh28
None
1
2015-02-16
2013-07-05
Annulus
No

I want to generate a password list with 2 different character sets, for example

first character set = {abc}
second character set = {123}

so the output should look something like this :

a1
a2
a3
b1
b2
b3
c1
c2
c3

So after reading example 13 (below) I thought this should do the trick:

crunch 2 2 abc 123 -t @%

but the output is:

a0
a1
a2
a3
a4
a5
a6
a7
a8
a9
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
c0
c1
c2
c3
c4
c5
c6
c7
c8
c9

Also contrary to the example, "if you have two characters types you MUST either specify values for each type or use a plus sign" executing this :

crunch 2 2 abc -t @% gives me the same output as before.

Where is my 123 going? and why don't I need a plus sign or values?

Example 13
crunch 4 4 + + 123 + -t %%@^
the plus sign (+) is a place holder so you can specify a character set
for the character type. crunch will use the default character set for
the character type when crunch encounters a +(plus sign) on the com‐
mand line. You must either specify values for each character type or
use the plus sign. I.E. if you have two characters types you MUST
either specify values for each type or use a plus sign. So in this
example the character sets will be:
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
123
!@#$%^&*()-_+=~`[]{}|\:;"'<>,.?/
there is a space at the end of the above string
the output will start at 11a! and end at "33z ". The quotes show the
space at the end of the string.

Related

Support Requests: #7

Discussion

  • bofh28

    bofh28 - 2013-07-06

    ./crunch 2 2 abc + 123 -t @%

    is what you want. You told crunch you want lower case characters and numbers for your output via -t. This means your chartacter set list must match. The character set order is lower case, upper case, numbers, and symbols so that is the order you need. You were setting the lower case and upper case characters sets. You need to add the + for the upper case characters.

     
  • Annulus

    Annulus - 2013-07-08

    Thanks for that! :)

    On 6/07/2013 12:26 PM, bofh28 wrote:

    ./crunch 2 2 abc + 123 -t @%

    is what you want. You told crunch you want lower case characters and
    numbers for your output via -t. This means your chartacter set list
    must match. The character set order is lower case, upper case,
    numbers, and symbols so that is the order you need. You were setting
    the lower case and upper case characters sets. You need to add the +
    for the upper case characters.


    [support-requests:#7]
    http://sourceforge.net/p/crunch-wordlist/support-requests/7/
    Specifying a character set for the character type

    Status: open
    Created: Fri Jul 05, 2013 10:07 AM UTC by Annulus
    Last Updated: Fri Jul 05, 2013 10:07 AM UTC
    Owner: bofh28

    I want to generate a password list with 2 different character sets,
    for example

    first character set = {abc}
    second character set = {123}

    so the output should look something like this :

    a1
    a2
    a3
    b1
    b2
    b3
    c1
    c2
    c3

    So after reading example 13 (below) I thought this should do the trick:

    crunch 2 2 abc 123 -t @%

    but the output is:

    a0
    a1
    a2
    a3
    a4
    a5
    a6
    a7
    a8
    a9
    b0
    b1
    b2
    b3
    b4
    b5
    b6
    b7
    b8
    b9
    c0
    c1
    c2
    c3
    c4
    c5
    c6
    c7
    c8
    c9

    Also contrary to the example, "if you have two characters types you
    MUST either specify values for each type or use a plus sign" executing
    this :

    crunch 2 2 abc -t @% gives me the same output as before.

    Where is my 123 going? and why don't I need a plus sign or values?

    Example 13
    crunch 4 4 + + 123 + -t %%@^
    the plus sign (+) is a place holder so you can specify a character set
    for the character type. crunch will use the default character set for
    the character type when crunch encounters a +(plus sign) on the com‐
    mand line. You must either specify values for each character type or
    use the plus sign. I.E. if you have two characters types you MUST
    either specify values for each type or use a plus sign. So in this
    example the character sets will be:
    abcdefghijklmnopqrstuvwxyz
    ABCDEFGHIJKLMNOPQRSTUVWXYZ
    123
    !@#$%^&*()-_+=~`[]{}|\:;"'<>,.?/
    there is a space at the end of the above string
    the output will start at 11a! and end at "33z ". The quotes show the
    space at the end of the string.


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/crunch-wordlist/support-requests/7/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Support Requests: #7

  • bofh28

    bofh28 - 2013-12-27
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB