Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stscoundrel/brutefarce
Bruteforce passwords in farcical way
https://github.com/stscoundrel/brutefarce
brute-force-algorithm brutefarce bruteforce bruteforce-password-cracker c cpp csharp fsharp go hunter2 java kotlin nim python rust scala typescript
Last synced: about 2 months ago
JSON representation
Bruteforce passwords in farcical way
- Host: GitHub
- URL: https://github.com/stscoundrel/brutefarce
- Owner: stscoundrel
- License: mit
- Created: 2021-07-25T14:02:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T15:10:59.000Z (about 1 year ago)
- Last Synced: 2024-01-06T16:26:38.188Z (about 1 year ago)
- Topics: brute-force-algorithm, brutefarce, bruteforce, bruteforce-password-cracker, c, cpp, csharp, fsharp, go, hunter2, java, kotlin, nim, python, rust, scala, typescript
- Language: C++
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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, Dart and Odin 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`
- `yarn run:odin hunter2 6 12`Individual implementations try to run build steps, which may need additional compilers like gcc, g++, nim, python, dotnet, javac, scalac etc.