GithubHelp home page GithubHelp logo

cyclone-github / crackmon Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 46 KB

Hashcat wrapper tool to bypass current attack if crack rate drops below threshold

License: GNU General Public License v2.0

Go 100.00%
attack bypass crack cracking cyclone hash hashcat hashcracking rate threshold

crackmon's Introduction

Readme Card

crackmon

Hashcat wrapper tool to bypass current attack if crack rate drops below threshold.

Inspiration by: https://github.com/justpretending/avgdrop

Usage:

Default: -time 1m -crack 1

./crackmon ./hashcat {hashcat args}

Custom: -time 2m -crack 100

./crackmon -t 2 -c 100 ./hashcat {hashcat args}

For more info:

./crackmon -help
Examples:

(Defaults to -time 1m -crack 1)
./crackmon ./hashcat {hashcat args}

Custom: -time 2m -crack 100
./crackmon -t 2 -c 100 ./hashcat {hashcat args}

All flags:
	-t      	minimum runtime in minutes
	-c      	cumulative average cracks threshold
	-debug  	enable debug output
	-help   	show this help menu
	-version	show version info

For troubleshooting, run with -debug flag

./crackmon -debug ./hashcat...

Version:

  • v2023-10-01.1700; initial github release
  • v2023-10-02.1030-debug; fixed timeThreshold; added more debugging info
  • v2023-10-04.1545-winpty; added pty support for windows; debug flag; changed CUR to AVG
  • v2023-10-07.1520-pty; refactored code, added logic for hashcat Paused, Running and Stopped status, added support for user sending commands to hashcat
  • v2023-10-13.1445; fixed #4; refactored sendX commands

Notes:

  • Compiled and tested on debian 12 and Windows 11 Terminal

Compile from source:

  • If you want the latest features, compiling from source is the best option since the release version may run several revisions behind the source code.
  • This assumes you have Go and Git installed
    • git clone https://github.com/cyclone-github/crackmon.git
    • cd crackmon
    • go mod init crackmon
    • go mod tidy
    • go build -ldflags="-s -w" .
  • Compile from source code how-to:

crackmon's People

Contributors

cyclone-github avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

crackmon's Issues

Uses Recovered/Time AVG

Code uses Recovered/Time... AVG to calc cracking avg...
https://github.com/cyclone-github/crackmon/blob/98138cee63a3c40f82e849750ff96d167aeb5a58/main.go#L129C11-L129C11
https://github.com/cyclone-github/crackmon/blob/98138cee63a3c40f82e849750ff96d167aeb5a58/utils.go#L88C10-L88C10
...but hashcat only prints this info on hashlists >= 1000.
hashcat/hashcat#3589
This means crackmon will not work with hashlists < 1000.
To fix this, logic needs added to calculate cracking average without relying on hashcat's Recovered/Time... AVG.

flag -t doesn't work

Specifying flag -t does not change time from default.
ex: -t 5 does not change time to 5 minutes

Does not send keyboard commands on Windows 11

Tool cannot send keyboard commands to hashcat. Issue is due to Windows' limited PTY terminal support.
Confirmed on:
cmd
Power Shell
Windows Terminal
WSL

Tool does not currently work at all on cygwin64 (tool cannot see hashcat's output or send keyboard commands).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.