pack icon indicating copy to clipboard operation
pack copied to clipboard

Unable to make a mask

Open hybridln opened this issue 6 years ago • 1 comments

Hi, i am trying to make a hash with this command but with no result

python policygen.py --minlength=8 --maxlength=15 \
  --mindigit=1 --minlower=1 --minupper=1 --minspecial=1 -o test1.masks

and i am taking

File "policygen.py", line 48
    else: print "[!] Error, unknown mask ?%s in a mask %s" % (char,mask)
                                                         ^
SyntaxError: invalid syntax

i need to make a mask with all the possible combinations(digits,alphas(capital-small), special characters and maximum length 15 thank you

hybridln avatar Feb 02 '19 11:02 hybridln

Command works for me.

But try the following command, as y should not need to specify minXXX when you want all combinations

python policygen.py --minlength=8 --maxlength=15 -o test1.masks

whoot avatar Feb 17 '19 15:02 whoot