Raking is the act of looping over wordlists with generate rules '-g' option enabled and using '--debug-mode=4' to collect the basewords, final words, and rules that worked. For example: STEP 1: First raking pass at a fast hashlist looping over wordlists directory: ``` hashcat -a 0 -m # -w 3 hash.txt wordlists/* -g 100000 --debug-mode=4 --debug file=nodename.debug ``` STEP 2: From there the basewords can be collected with: ``` cut -d: -fl < nodename.debug »nodename.base ``` STEP 3: Then the debug rules can be collected with: ``` cut-d: -f2 < nodename.debug »nodename.rule ``` STEP 4: Finally the resultant words can be collected with: ``` cut-d: -f3- < nodename.debug »nodename.final ``` After some time repeatedly generating [[Rules]], collecting basewords, final words, and rules, they can again be tested against the hashlist or multiple hashlists and a fresh debug file to determine the effectiveness. You can also count the number of times rules have been used and take the best of them. This method was how the [[Hashcat]] included rule generated2.rule was created. [[Home]] #methodology #howto