Giter VIP home page Giter VIP logo

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 some statistics. All of these were run on the same Linux machine, so the runtime will obviously vary but it should give you a good idea of the speed differences between languages. Each program was tasked with finding the password zzzzzz. If you're language agnostic I highly recommend using C++.

C#:

Duration: 12 seconds

Passwords / second: 26,772,698

C++:

Duration: 6.31 seconds

Passwords / second: 50,914,804

Python:

Duration: > 5 minutes

Kotlin:

Statistics coming soon...

brute-force-password-cracker's People

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.