Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: How can I extract rules from wordlists?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to parse a wordlist and extract all of the rules that are used, ordering them in frequency. Like how the rockyou3000 rule was made.
PACK has some tools that supposedly can do this. Only used it for mask generation (works great), but it can do rules.
F:\HashCat\PACK-0.0.4>rulegen.py 1.txt -q
File "F:\HashCat\PACK-0.0.4\rulegen.py", line 220
print " %s" % " ".join(list(word))
^
SyntaxError: invalid syntax

any idea what iam doing wrong?

//statsgen also wont want to work
F:\HashCat\PACK-0.0.4>statsgen.py 1.txt
File "F:\HashCat\PACK-0.0.4\statsgen.py", line 180
print "[+] Analyzing %d%% (%d/%d) of passwords" % (self.filter_counter*100/
elf.total_counter, self.filter_counter, self.total_counter)
^
SyntaxError: invalid syntax
Be sure you are using python 2.7. I tried 3.4 and it didn't work until I switched to 2.7.
yeah, i got 3.4.1. Thx for info now try with 2.7

ok now work fine Smile
Szulik, I'm getting the same errors, I was going to this this on Linux.

I've heard of PACK in the past, I was wondering if there was anything more "Windows friendly", like a GUI.
hmm statsgen work fine, but still got isue with rulegen ;/
(01-04-2015, 03:12 PM)Szulik Wrote: [ -> ]hmm statsgen work fine, but still got isue with rulegen ;/

Rulegen works fine on Linux, I'm running it right now.