Coder Social home page Coder Social logo

sp00ks-git / hat Goto Github PK

View Code? Open in Web Editor NEW
296.0 12.0 36.0 3.09 MB

HAT (Hashcat Automation Tool) - An Automated Hashcat Tool for common wordlists and rules to speed up the process of cracking hashes during engagements. Created for Linux based systems

License: GNU General Public License v3.0

Python 92.30% Ruby 7.70%

hat's Introduction

HAT - Hashcat Automation Tool

An automated Hashcat tool for common wordlists and rules to speed up the process of cracking hashes during engagements. HAT is simply a wrapper for Hashcat (with a few extra features) - https://hashcat.net, however I take no credit for that superb tool.

Walkthrough of features - https://sp00ks-git.github.io/posts/HAT-Features/

This version is for Linux only - see the Windows Repo

Supported Hashes:

NTLMv2 (NTHASH) -> NetNTLMv1 -> NetNTLMv2 -> MD5 -> SHA-512 -> RC4-HMAC-MD5 (Kerberoasting)

Features:

  • Straight Wordlist testing from publicy known breaches (dependant on your wordlists)
  • Straight Wordlists using the Oxford Dictionary incrmementing through various combinations
  • Common Rule sets used in corporate environments
  • Smart ordering of compromised hashes alphabetically in (Username::Domain:Hash:Password) format.
  • Visual hash cracking status showing you how many hashes you have left to crack
  • Cewl Integration for finding specific words common to the business not found in dictionaries or breached lists
  • Rsmangler Integration for finding permutations of a specific word that the firm might be using. (includes incrementing various combinations on either side)

The directory structure that HAT expects is.. (of course you can just ammend the code to your own needs)

-> /opt/worliststs/rockyou.txt
-> /opt/wordlists/1GB-4GB/
-> /opt/wordlists/4GB+/
-> /opt/wordlists/english-words/
-> /opt/wordlists/merged_list/

Suggested Wordlists download links (HTTP) - working as of 14/10/2019

Thanks to:

Cewl - @digininja - https://github.com/digininja/CeWL
Passphrases - @initstring - https://github.com/initstring/passphrase-wordlist
Rsmangler - @digininja - https://github.com/digininja/RSMangler

hat's People

Contributors

no1deer avatar sp00ks-git avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hat's Issues

UnboundLocalError: local variable 'hashes_cracked' referenced before assignment

I have noticed a small bug in the tool.

When I am trying to use the tool with a new hash list or file, I am getting the following error:

 Percentage Cracked:
Traceback (most recent call last):
  File "./hat.py", line 1131, in <module>
    main_menu()
  File "./hat.py", line 1124, in main_menu
    options[task]()
  File "./hat.py", line 1096, in hash_from_file
    crack_menu()
  File "./hat.py", line 961, in crack_menu
    percent_cracked = (hashes_cracked * 100 / HASHES_LOADED)
UnboundLocalError: local variable 'hashes_cracked' referenced before assignment

I amended the hat.py file to include hashes_cracked = 0 at line 960, to arbitrarily set the variable if the pot file does not exist (shown below):

POT = POT + '.pot'
pot_absolute = os.path.join(L00T_POT_DIR, POT)
if os.path.exists(pot_absolute):
    with open(pot_absolute) as lines:
    hashes_cracked = len(lines.readlines())
    prGreen(hashes_cracked)
else:
    prRed("0")
    hashes_cracked = 0
print" " + "Percentage Cracked:",
percent_cracked = (hashes_cracked * 100 / HASHES_LOADED)

availability of sp00ks_merged_file_uniq

It appears that no full, valid version of sp00ks_merged_file_uniq is available.

$ tail sp00ks_merged_file_uniq.txt
2653841
2653842
2653843359
2653845
2653849
265385
2653850
26538502
2653851
2653858VERINE

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.