Coder Social home page Coder Social logo

shubhanshujha / brute-force-password-cracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyancoding/brute-force-password-cracker

0.0 0.0 0.0 15 KB

A brute force attacker built in Python 3.

License: MIT License

Python 8.20% C# 34.92% C++ 15.87% Kotlin 41.01%

brute-force-password-cracker's Introduction

Brute-Force Password Cracker

The brute-force password cracker is an application written in C#, C++, Kotlin, and Python that brute forces a password that you pass to the function. Read more about brute force password crackers here.

The general idea is that it checks every possible character combination repeatedly until it matches the provided string. Note: Built into the Kotlin version are coroutines that have it check multiple lengths of a string at a time for as many cores as the processor you're using has. You can disable this feature and just have it run one length at a time. I've found that using multiple cores can speed up the overall process as it makes it easier for it to guess longer lengths faster.

Example output with coroutines:

a
aa
aaa
aaaa
b
ab
aab
aaab

Example output without coroutines:

a
b

Performance:

Here are the performance statistics that I found on my Intel i5-4460 @ 3.20GHz. Each program was tasked with cracking the password zzzzzz. These should give you a rough estimate of how fast the program is in each language. The Python version does not include statistics (such as duration or passwords / second) but those will be added soon. Kotlin had a few issues compiling with coroutines, so I'll get those statistics as soon as I can compile it ๐Ÿ˜‚. (hint: if you're language-agnostic, use C++) Here's the results:

C#:

Duration: 12 seconds

Passwords / second: 26,772,698

C++:

Duration: 6.31 seconds

Passwords / second: 50,914,804

Python:

Duration: > 5 minutes

Passwords / second: coming soon...

Kotlin:

Statistics coming soon...

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.