Giter Site home page Giter Site logo

hashcobra's Introduction

hashcobra

hashcobra Hash Cracking tool.

Description

This tool uses a new method to crack hashes. With the help of rainbow tables concept this tool generates rainbow tables from wordlists to heavily optimize the cracking process.

Usage

$ ./hashcobra -H
--==[ hashcobra by sepehrdad ]==--

usage:

  hashcobra -o <opr> [options] | [misc]

options:

  -a <alg>     - hashing algorithm [default: md5]
               - ? to list available algorithms
  -c <alg>     - compression algorithm [default: zstd]
               - ? to list available algorithms
  -h <hash>    - hash to crack
  -r <path>    - rainbow table path [default: hashcobra.db]
  -d <path>    - dictionary file path
  -o <opr>     - operation to do
               - ? to list available operations
misc:

  -V           - show version
  -H           - show help

example:

  # Create md5 rainbow table with zstd compression from rockyou.txt
  $ hashcobra -o create -d rockyou.txt

  # Create sha512 rainbow table with no compression from darkc0de.lst
  $ hashcobra -o create -a sha512 -c none -r rt.db -d darkc0de.lst

  # Crack 1a1dc91c907325c69271ddf0c944bc72 using rt.db
  $ hashcobra -o crack -h 1a1dc91c907325c69271ddf0c944bc72 -r rt.db

Supported Hashing Algorithms

  • blake2b-160
  • blake2b-256
  • blake2b-384
  • blake2b-512
  • blake2s-128
  • blake2s-160
  • blake2s-224
  • blake2s-256
  • md2
  • md4
  • md5
  • sha1
  • sha224
  • sha256
  • sha384
  • sha512
  • sha3-224
  • sha3-256
  • sha3-384
  • sha3-512
  • keccak-224
  • keccak-256
  • keccak-384
  • keccak-512
  • ripemd-128
  • ripemd-160
  • ripemd-256
  • ripemd-320
  • whirlpool
  • tiger

Supported Compression Algorithms

  • zstd
  • snappy
  • zlib
  • bzip2
  • lz4
  • lz4hc

Build Prerequisites

  • Make is required.

  • GCC 8.0 or above is required.

  • Rocksdb most recent verison is required.

Downloading

Because hashcobra relies on an externally linked repository, the --recursive flag must be passed with the git clone command

git clone --recursive https://github.com/sepehrdaddev/hashcobra.git

Building

$ make

Installing

$ make install

License

This software is distributed under the GNU General Public License version 3 (GPLv3)

LEGAL NOTICE

THIS SOFTWARE IS PROVIDED FOR EDUCATIONAL USE ONLY! IF YOU ENGAGE IN ANY ILLEGAL ACTIVITY THE AUTHOR DOES NOT TAKE ANY RESPONSIBILITY FOR IT. BY USING THIS SOFTWARE YOU AGREE WITH THESE TERMS.

Get Involved

Please, send us pull requests!

hashcobra's People

Contributors

rustybower avatar sepehrdaddev 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

hashcobra's Issues

segmentation issue

hello
i need help i am getting segmentation fault issue

when I am trying to create or crack the hash

please check attached file

IMG_20200224_202930_211

hashcobra.cpp:28:10: fatal error: rocksdb/db.h: No such file or directory

I cloned rocksdb and builded it according to their recommandations, that is make static_lib
However, when I make I get the following error message
hashcobra.cpp:28:10: fatal error: rocksdb/db.h: No such file or directory #include <rocksdb/db.h> ^~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:19: hashcobra.o] Error 1

Any idea what's causing this issue and how I can solve it?

Much appreciated.

Build error: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'

I try to build hashcobra howver I get the following error:
make -C third-party/libtomcrypt make[1]: Entering directory '/home/debian/hashcobra/third-party/libtomcrypt' make[1]: Nothing to be done for 'library'. make[1]: Leaving directory '/home/debian/hashcobra/third-party/libtomcrypt' g++ -O3 -Wall -Wextra -std=c++17 -lstdc++fs -march=native -s -Ithird-party/libtomcrypt/src/headers -o hashcobra hashcobra.o -Lthird-party/libtomcrypt -lrocksdb -ltomcrypt /usr/bin/ld: hashcobra.o: in function std::filesystem::__cxx11::path::path<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::filesystem::__cxx11::path>(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::filesystem::__cxx11::path::format) [clone .constprop.101]':
hashcobra.cpp:(.text+0xb90): undefined reference to std::filesystem::__cxx11::path::_M_split_cmpts()' /usr/bin/ld: hashcobra.o: in function main':
hashcobra.cpp:(.text.startup+0x24f7): undefined reference to std::filesystem::status(std::filesystem::__cxx11::path const&)' /usr/bin/ld: hashcobra.cpp:(.text.startup+0x2705): undefined reference to std::filesystem::status(std::filesystem::__cxx11::path const&)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:16: hashcobra] Error 1`

The issue on other forums seems to be solved by adding -lstdc++fs to the build command however I still get the same error.

Any help would be much appreciated.

install help

How to install? When i follow your steps I get :
make: *** [Makefile:27: depend] error 2

Installation error at make

Describe the bug
$ make

make -C third-party/libtomcrypt
make[1]: Entering directory '/home/r4gn4r/Desktop/hashcobra/third-party/libtomcrypt'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/r4gn4r/Desktop/hashcobra/third-party/libtomcrypt'
make: *** [Makefile:26: depend] Error 2

Steps to reproduce the behavior:

  1. I git cloned the repo.
  2. Then got in the file with terminal and typed 'make'
  3. See error
  • OS: Parrot OS

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.