Sign inSign up

adamino/a-hash-cracker

By adamino

•Updated over 3 years ago

https://github.com/onero/aHashCracker

Image
0

179

adamino/a-hash-cracker repository overview

⁠aHashCracker

This is a password hash cracker written in Rust. It supports cracking password hashes from Linux (/etc/shadow) and Windows (NTLM).

⁠Features

  • Supports MD5, SHA256, SHA512, and NTLM hash types.
  • Reads from rockyou wordlist file to perform a dictionary attack.
  • Identifies the hash type automatically.
  • Docker support for easy deployment and usage.

⁠Usage

⁠Running with docker-compose

NB. The container ships with rockyou.txt included!

You can run the program in a Docker container with compose. For this you just need to have Docker⁠ installed.

  1. Download the docker-compose.yml⁠
  2. Run the program with docker-compose
docker-compose run cracker
⁠Running from the binary
  1. Grab the latest release⁠
  2. Download a wordlist (rockyou was used, but feel free to use any and rename to "rockyou.txt") and place it next to the program in wordlist/rockyou.txt
├── FolderWithFiles/
  └── aHashCracker
    └── wordlist/
      └── rockyou.txt
  1. Execute binary and pwn passwords!
⁠Example of program running

The program will prompt for the hash line

Enter the line from /etc/shadow or SAM DB:
adamino:502:c46b9e588fa0d112de6f59fd6d58eae3:C196CAE1F0F364BAF748EE0E7F753A15:::

...
[9997] No match...
[9998] No match...
[9999] No match...
Cracked password: Attempt: 10000
Result: adamino:kupal
⁠Development

You'll need to install Rust⁠ in order to run the project.

  1. Clone the repository:
git clone https://github.com/onero/aHashCracker.git
cd aHashCracker
  1. Download a wordlist (rockyou was used, but feel free to use any and rename to "rockyou.txt") and place it next to the program in wordlist/rockyou.txt

  2. Build the project:

cargo build --release
  1. Run the program:
cargo run

Tag summary

Content type

Image

Digest

sha256:4d9cc1fc8…

Size

78.5 MB

Last updated

over 3 years ago

docker pull adamino/a-hash-cracker