12-01-2017, 04:02 AM

New to using PACK so maybe using it incorrectly.. here's what I'm seeing:

Even though I specify maxdigit=3, in the Max Strength section above, it still says d:None

If I do the following:

No matter what I do with maxdigit, it doesn't get recognized... I was thinking it was cosmetic so I ran the same command but output it to a file, and sure enough there were extra ?d in the mask lists.

Am I using this incorrectly? I'm trying to create a mask file that has:

exactly 9 length

min 1 special

max 2 special

min 1 upper

max 2 upper

min 1 digit

max 3 digit

min 1 lower

max 6 lower (since 1 upper 1 special 1 digit is min - that would make 9)

Code:

`python policygen.py --minlength=9 --maxlength=9 --mindigit=1 --maxdigit=3 --minspecial=1 --maxspecial=2 --minupper=1 --maxupper=2 --minlower=1 --maxlower=6`

_

PolicyGen 0.0.2 | |

_ __ __ _ ___| | _

| '_ \ / _` |/ __| |/ /

| |_) | (_| | (__| <

| .__/ \__,_|\___|_|\_\

| |

|_| iphelix@thesprawl.org

[*]Using 1,000,000,000 keys/sec for calculations.

[*]Password policy:

Pass Lengths: min:9 max:9

Min strength: l:1 u:1 d:1 s:1

Max strength: l:6 u:2 d:None s:2

[*]Generating [compliant] masks.

[*]Generating 9 character password masks.

[*]Total Masks: 262144 Time: >1 year

[*]Policy Masks: 63000 Time: >1 year

Even though I specify maxdigit=3, in the Max Strength section above, it still says d:None

If I do the following:

Code:

`python policygen.py --minlength=9 --maxlength=9 --mindigit=1 --maxdigit=8 --minlower=1`

_

PolicyGen 0.0.2 | |

_ __ __ _ ___| | _

| '_ \ / _` |/ __| |/ /

| |_) | (_| | (__| <

| .__/ \__,_|\___|_|\_\

| |

|_| iphelix@thesprawl.org

[*]Using 1,000,000,000 keys/sec for calculations.

[*]Password policy:

Pass Lengths: min:9 max:9

Min strength: l:1 u:None d:1 s:None

Max strength: l:None u:None d:None s:None

[*]Generating [compliant] masks.

[*]Generating 9 character password masks.

[*]Total Masks: 262144 Time: >1 year

[*]Policy Masks: 223290 Time: >1 year

No matter what I do with maxdigit, it doesn't get recognized... I was thinking it was cosmetic so I ran the same command but output it to a file, and sure enough there were extra ?d in the mask lists.

Am I using this incorrectly? I'm trying to create a mask file that has:

exactly 9 length

min 1 special

max 2 special

min 1 upper

max 2 upper

min 1 digit

max 3 digit

min 1 lower

max 6 lower (since 1 upper 1 special 1 digit is min - that would make 9)