Coder Social home page Coder Social logo

stscoundrel / brutefarce Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 55 KB

Bruteforce passwords in farcical way

License: MIT License

C 7.96% C++ 11.35% Rust 7.38% TypeScript 7.05% Python 5.32% C# 10.41% Nim 5.26% Go 6.90% Java 9.61% F# 6.39% Scala 7.33% Kotlin 7.39% Dart 7.63%
bruteforce bruteforce-password-cracker brutefarce brute-force-algorithm c cpp rust csharp python typescript nim go java fsharp hunter2 scala kotlin dart

brutefarce's Introduction

Brutefarce

Bruteforce passwords in farcical way.

Brutefarce is possibly the least efficient bruteforcing algorithm for cracking passwords. Instead of using a dictionary of likely passwords, it will use randomly generated input each time.

FAQ

Does it work?

Yes, but your mileage will vary. If password is simple, it has decent chance of cracking it rapidly. It password is decently complex, or simply long, it will probably take long.

Doesn't randomness mean it might try same incorrect password many times?

Absolutely. Every guess is independent, and does not take the previous ones into account whatsoever.

Can you benchmark it against other algorithms?

While you can, results would (probably) be different each time. Unlike other algorithms, it actually might get even the strongest password on the first try. But then again, it might never guess even three letter password like "aaa"

There are version written in different programming languages. Is one more efficient than the other?

While some languages can be run much faster than others, the inefficiency of the algorithm makes up for the speed of the code. Fast language will make guesses faster, which might give them an edge.

What is the ballpark figure for Brutefarces speed?

Depends on password, and implementation you're using. For example, the C implementation routinely cracks passwords like "aaa" (min 3, max 10) in less than a second. If you use a more hardcore, complex password like "hunter2", it might take hundreds of millions of guesses.

To run

Brutefarce accepts three arguments: the password to crack, minimum length, and maximum length of password. For example:

Currently C, C++, C#, Rust, TypeScript, Python, Nim, Go, Java, F#, Scala, Kotlin and Dart implementations are available:

  • yarn run:c hunter2 6 12
  • yarn run:c++ hunter2 6 12
  • yarn run:rust hunter2 6 12
  • yarn run:typescript hunter2 6 12
  • yarn run:python hunter2 6 12
  • yarn run:c# hunter2 6 12
  • yarn run:nim hunter2 6 12
  • yarn run:go hunter2 6 12
  • yarn run:java hunter2 6 12
  • yarn run:f# hunter2 6 12
  • yarn run:scala hunter2 6 12
  • yarn run:kotlin hunter2 6 12
  • yarn run:dart hunter2 6 12

Individual implementations try to run build steps, which may need additional compilers like gcc, g++, nim, python, dotnet, javac, scalac etc.

brutefarce's People

Contributors

stscoundrel avatar

Watchers

 avatar  avatar

brutefarce's Issues

C: malloc by max length

Considering this thing can churn out hundreds of thousands of guesses, it is probably more efficient to allocate memory by max length of guess instead of each time allocating different sized guess. Try it out.

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.