Git Product home page Git Product logo

bruteforce's Introduction

BruteForce Build Status

A simple brute force software written in GO

Usage

BruteForce --type [md5|sha256|sha512|sha1|bcrypt|ripemd160] --value <hash>

Example:

./BruteForce --type sha256 --value 88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589
Start brute-forcing (sha256)...
Found: abc in 1 s

How to use a specific char set

If you want to use a specific set of chars, write it on a simple txt file and use the --alphabet option Example with a file alpha.data containing:

abcdefghijklmnopqrstuvwxyz

You can launch it with:

./BruteForce --alphabet alpha.data --type sha256 --value 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
Start brute-forcing (sha256)...
Found: test in 0 s

How to use a dictionary file

If you want to use a file containing all words to be tested, write them on a simple file (one per line) and use the --dictionary option. Example with a file dic.data containing:

dragon
butterfly
test

You can launch it with:

./BruteForce --dictionary dic.data --type sha256 --value 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
Start brute-forcing (sha256)...
Found: test in 0 s

How to use a salt

If you want to use a salt you can simply add it with the salt parameter (before and/or after) Example:

./BruteForce --value cb2537e62f7f7358cb5b6a812c7d3c7d95d87733 --type sha1 --salt-after 1234567890
Start brute-forcing (sha1)...
Found: zzzz in 3 s
./BruteForce --value ef95124ec674cea240e9dd02c86ba3670e2ee5a2 --type sha1 --salt-before 1234567890
Start brute-forcing (sha1)...
Found: zzzz in 3 s

How to use size limit

If you want to control the size words generated, you can use the size parameter for a specific size or a range. Example:

./BruteForce  --type sha256 --value 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 --size 4
Start brute-forcing '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08' (sha256)...
Found: test in 2 s 
./BruteForce  --type sha256 --value 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 --size 2-4
Start brute-forcing '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08' (sha256)...
Found: test in 2 s

Gpu support (beta)

Use GPU support

Currently, only SHA-256 is supported with this option, and only for Windows and Linux builds, with an OpenCL compatible device and driver.

And if you want to use GPU to compute hashs, just use the GPU parameter:

./BruteForce --type sha256 --value 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 --gpu
Start brute-forcing '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08' (sha256)...
Found: test in 9 s

Build with GPU support

If you want to build with GPU support, you must use the command go build -tags opencl. You will also need header and lib files available.

bruteforce's People

Contributors

ngirot 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bruteforce's Issues

Secp256k1

Hello,
Could you add more Secp256k1 out publickey com and uncom? I think it verry usefull.
Thank for your good tool.

Salt at the beginning?

This is by far the best hash brute forcing tool, but why is there no option to add the salt at the beginning?
This function would be unbelievable helpful!
It would be amazing to see this function being added in the next release.

No GPU found

Hello, thank you for your good project
when i try run with --gpu I get this error:
No GPU found (when searching device with OpenCl compatibility)
i installed opencl headers on ubunto

when i use go build -tags opencl i get this message

Is the problem with the opencl version?

# gitlab.com/ngirot/blackcl
In file included from /usr/include/CL/cl.h:20,
                 from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/Uint32.go:11:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
      |         ^~~~~~~
# gitlab.com/ngirot/blackcl
In file included from /usr/include/CL/cl.h:20,
                 from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/blackcl.go:11:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
      |         ^~~~~~~
cgo-gcc-prolog: In function ‘_cgo_a2116c1e2306_Cfunc_clCreateCommandQueue’:
cgo-gcc-prolog:55:2: warning: ‘clCreateCommandQueue’ is deprecated [-Wdeprecated-declarations]
In file included from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/blackcl.go:11:
/usr/include/CL/cl.h:1906:1: note: declared here
 1906 | clCreateCommandQueue(cl_context                     context,
      | ^~~~~~~~~~~~~~~~~~~~
# gitlab.com/ngirot/blackcl
In file included from /usr/include/CL/cl.h:20,
                 from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/buffer.go:11:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
      |         ^~~~~~~
# gitlab.com/ngirot/blackcl
In file included from /usr/include/CL/cl.h:20,
                 from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/bytes.go:11:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
      |         ^~~~~~~
# gitlab.com/ngirot/blackcl
In file included from /usr/include/CL/cl.h:20,
                 from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/device.go:11:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
      |         ^~~~~~~
# gitlab.com/ngirot/blackcl
In file included from /usr/include/CL/cl.h:20,
                 from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/errors.go:11:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
      |         ^~~~~~~
# gitlab.com/ngirot/blackcl
In file included from /usr/include/CL/cl.h:20,
                 from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/image.go:11:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
      |         ^~~~~~~
# gitlab.com/ngirot/blackcl
In file included from /usr/include/CL/cl.h:20,
                 from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/kernel.go:11:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
      |         ^~~~~~~
# gitlab.com/ngirot/blackcl
In file included from /usr/include/CL/cl.h:20,
                 from ../../go/pkg/mod/gitlab.com/ngirot/[email protected]/vector.go:11:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
      |         ^~~~~~~

Ripemd160

Hi, it good tool. Could you add more Ripemd160? Many thanks

Bad Windows executable name

The executable file name for the windows release should have a ".exe" extension to be executed more easily.

Windows GPU not found

i have go env CGO_CPPFLAGS with result -I c:\OCL_SDK_Light\include and
go env CGO_LDFLAGS with result -L c:\OCL_SDK_Light\lib\x86_64 but if im using --gpu it said No GPU found (when searching device with OpenCl compatibility)

Spinner does not work on Windows console

On windows default console, the spinner appear as a "?"

Example :

> BruteForce-windows-amd64.exe -type sha256 -value 36BBE50ED96841D10443BCB670D6554F0A34B761BE67EC9C4A8AD2C0C44CA42C
Start brute-forcing (sha256)...
? 7|)c...

Nice!

Hello, this is a nice brute force repository, i love it. I use it currently in my repository "Controller" for a sshBruteForce command.

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.