Skip to content

captain-woof/hashcat-rules-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hashcat rule generator

This repository contains simple Hashcat rules, and scripts to generate such rules following custom boundaries.

How to use rules

Hashcat can be used to pass a base wordlist through a rule file. Rule files have a specific format.

hashcat -a 0 -r some.rule --force --stdout wordlist_base.txt > wordlist_processed.txt

Rule generators

Rule generating scripts are included here to generate your own rules. Each generator has a specific purpose. In addition, there is a combining script that can combine multiple rule files.

Types

Rulesets and rule generators are divided into 2 categories:

  • mutators

  • additives

These rules are meant to be used in a pipeline for most effective results.

Mutators

These rules take a word and mutate something in it. The total length of the word is unchanged.

As an example, these rules can make "california" into "California", "cal!forn!a", etc.

Additives

These rules take a word and prepend/append something to it. The total length of the word is changed.

As an example, these rules can make "California" into "California1969".

Pipeline approach

To generate most effective wordlists, you can:

  1. Generate a base wordlist comprising of only lowercase words; no gimmicks.
  2. Feed this base wordlist to a mutator rule to generate mutated wordlist.
  3. Feed the mutated wordlist to an additive wordlist to generate final wordlist.

Pictorially:

base wordlist -> mutator -> additive -> final wordlist

Contribution

Generating effective wordlists can be a pain. If you have any ideas, scripts, rules to add, please feel free to contribute them here.

References

About

Hashcat rules & rule generator scripts to make life easier

Topics

Resources

Stars

Watchers

Forks

Languages