About: A repository with brute force password crackers I have personally written in several different programming languages.
Languages available:
- C++
- C#
- Python
- Kotlin
- Go
- New: Vala
A brute force program attempts every possible solution when cracking a password. These are not just useful for hacking but can be applicable in many programs. They are often inefficient and time consuming because they are so thorough.
Read more about brute force password crackers here.
The algorithms generally use recursion, where the function creates more instances of itself. There is slight overhead here because if one function finishes, the others still run a few times before realizing they should quit, but if you have a recommendation on how to do it without recursion create an issue!
I have used brute-force techniques many times in my coding career. Here are some examples where brute forcing could be used:
- Finding anagrams of a word and seeing which are in a dictionary
- Games where the computer needs to analyze the game board and rank the best places to play
- Testing the performance of a language (i.e. C# is faster than Python but slower than Vala).
- Benchmarking your CPU
- Running a function 10 million times and ranking the performance/output
- etc.
Implementation is easy enough. Each language contains a small main
function and references the brute forcing
function, which you could just copy into your code.