GithubHelp home page GithubHelp logo

after-the-sunrise / brutus Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 2.0 53 KB

Brute-force password cracker. 'You forgot your password too?'

License: GNU Affero General Public License v3.0

Java 100.00%
brute-force password-cracker java zip

brutus's Introduction

brutus

Build Status Coverage Status

Overview

'Brutus, so you forgot your password too?'

Brutus is a brute-force attack password cracker tool, which simply generates a sequence of words following the predefined character combination, and attempts to decrypt the file with each password until the correct one is found.

Needless to say, brute-force is NOT one of the most efficient algorithm out there, so keep in mind that this tool is limited to be functional with simple passwords.

Feature

Brutus currently supports the following file formats:

  • *.zip
  • *.pdf
  • *.txt

Note that *.txt is to be used for testing purpose, which tries to match the clear-text value written in the text file. This is intended to be used for measuring the speed of password generation.

Complexity of the password can be optionally specified, such as min/max number of characters and types of characters (lower-case, upper-case, numbers, etc).

Execution parameters can also be specified, which includes the number of concurrent threads to use, and time-out in case if the password is not found within the specified time interval.

See the Configuration section of this documentation for the list of configurable parameters.

Usage

Prerequisites

  • JDK 1.8 or later
  • Maven 3 or later
  • Internet connection for downloading dependencies.

Preparation

Download the sources, and build the project to sanity check the environment. Make sure that the build and test passes.

git clone "https://github.com/after-the-sunrise/brutus.git" "brutus"

cd brutus && mvn clean test

Execution

Execute the application with Exec Maven Plugin, specifying the file to decrypt. The file name's extension (cf: .txt, .zip) is used to automatically determine and switch the decryption logic.

mvn exec:java -Dexec.args="-in /path/to/the/file.zip"

To configure the maximum length of password to attempt, specify the -max parameter.

mvn exec:java -Dexec.args="-in /path/to/the/file.zip -max 8"

Configuration

For the list of configurable parameters, refer to the '--help' option.

mvn exec:java -Dexec.args="--help"

brutus's People

Contributors

after-the-sunrise avatar dependabot[bot] avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dudeif

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.