DictStat

Description

Dictstat is a Python script is a great little tool for password cracking results analysis or for regular wordlist analysis. The dictstat application is located in the /pentest/passwords/pack directory on Backtrack 5 R3 and can be run using “python dictstat.py” from within that directory. Written by iphelix during the 2010 Crack Me If You Can password cracking competition and is part of a larger toolset called PACK or Password Analysis and Cracking Kit. Below we show some examples of dictstat in action along with some details of the available parsing mechanisms that are in place.

Usage

Syntax

 dictstat [options] passwords.txt

Options

  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -l 8, --length=8      Password length filter.
  -c loweralpha, --charset=loweralpha
                        Password charset filter.
  -m stringdigit, --mask=stringdigit
                        Password mask filter
  -o masks.csv, --maskoutput=masks.csv
                        Save masks to a file

Example

cyborg@cyborg:~$ dictstat -l 9 passwords.txt 
[?] Psyco is not available. Install Psyco on 32-bit systems for faster parsing.
[*] Analyzing passwords: passwords.txt
[+] Analyzing 15% (327318/2151236) passwords
    NOTE: Statistics below is relative to the number of analyzed passwords, not total number of passwords

[*] Line Count Statistics...
[+]                         9: 100% (327318)

[*] Mask statistics...
[+]               stringdigit: 39% (129276)
[+]                 allstring: 25% (83645)
[+]                  alldigit: 16% (52649)
[+]               digitstring: 06% (22529)
[+]                 othermask: 04% (14950)
[+]         stringdigitstring: 04% (13219)
[+]          digitstringdigit: 01% (5242)
[+]        stringspecialdigit: 00% (2507)
[+]       stringspecialstring: 00% (2007)
[+]             stringspecial: 00% (917)
[+]      specialstringspecial: 00% (199)
[+]             specialstring: 00% (144)
[+]                allspecial: 00% (34)

[*] Charset statistics...
[+]             loweralphanum: 49% (160820)
[+]                loweralpha: 24% (78589)
[+]                   numeric: 16% (52649)
[+]             mixedalphanum: 04% (13861)
[+]      loweralphaspecialnum: 02% (6679)
[+]             upperalphanum: 01% (4473)
[+]                mixedalpha: 01% (3444)
[+]         loweralphaspecial: 00% (2878)
[+]                upperalpha: 00% (1612)
[+]      mixedalphaspecialnum: 00% (1389)
[+]         mixedalphaspecial: 00% (491)
[+]      upperalphaspecialnum: 00% (283)
[+]         upperalphaspecial: 00% (116)
[+]                   special: 00% (34)

[*] Advanced Mask statistics...
[+]        ?l?l?l?l?l?l?l?l?l: 24% (78589)
[+]        ?d?d?d?d?d?d?d?d?d: 16% (52649)
[+]        ?l?l?l?l?l?d?d?d?d: 07% (23433)
[+]        ?l?l?l?l?l?l?l?d?d: 07% (23010)
[+]        ?l?l?l?l?l?l?d?d?d: 06% (21640)
[+]        ?l?l?l?d?d?d?d?d?d: 06% (21477)
[+]        ?l?l?l?l?l?l?l?l?d: 03% (11514)
[+]        ?l?l?d?d?d?d?d?d?d: 02% (8273)
[+]        ?d?d?d?d?d?d?l?l?l: 01% (6465)
[+]        ?l?d?d?d?d?d?d?d?d: 01% (3822)
[+]        ?d?d?l?l?l?l?l?l?l: 01% (3398)

 

0 Comments

Leave a reply

CONTACT US

We're are building as a community and a team. Be a part of it.

Sending

©2017 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?