KMikeeU / hcre-rs

Rust port of hcre, a simple command line hashcat rule engine implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hashcat Rule Engine

Build (Release)

This is a standalone third-party app not affiliated with hashcat.

A simple cli tool to parse hashcat rules provided as command line arguments, apply the rules to stdin and output to stdout.

Note: This is a rust port of my other repo. The rust version should be a lot faster, albeit not implementing as many rules as of now.

Installation

From release

Simply download a binary from the release section of this repo.

From source

cargo install --git https://github.com/KMikeeU/hcre-rs

Usage

hcre-rs -r <path to rule file>

Examples

hcre + Gobuster

cat directory-list.txt | hcre-rs -r example.rule | gobuster dir -u http://localhost:8080/ -w - -x php

Implemented rules

NOTE: Rules which have not yet been implemented will be ignored

  • Nothing (:)
  • Lowercase (l)
  • Uppercase (u)
  • Capitalize (c)
  • Invert Capitalize (C)
  • Reverse (r)
  • Duplicate (d)
  • Append Character ($X)
  • Prepend Character (^X)
  • Purge (@X)
  • Replace Character (sXY)

To see how any of these rules function, please refer to the official hashcat rule documentation.

Known issues

  1. Always outputs initial word without rules (as if the ':' rule was applied)
  2. Not enough rules. duh.

About

Rust port of hcre, a simple command line hashcat rule engine implementation.


Languages

Language:Rust 100.0%