After arduous nights and days wondering whether I should code another program, I'm back.
Bruteforce Password Guesser!
How it works:
You input a 4-lettered password that you want the computer to guess.
Press enter, and the computer will automatically get cracking at it.
Note: This program does take a long time since it is Bruteforce lol and it does it randomly each time. The amounts of passwords guessed can reach 100 million and more!
Edit: OMG Thanks for all of the support I’ve been getting on this repl recently! 56 upvotes is insane, so thank you so much!
Also, my programs usually don't get a ton of upvotes, and I work really hard on them, so if you enjoy my program, make sure to upvote; its free, and it motivates me a ton!
This is pretty cool! Good job with the random letter thingie, and if you want the program to be a bit more efficient, you can use for loops! It would be something like this
for letter1 in allLetters: for letter2 in allLetters: for letter3 in allLetters: for letter4 in allLetters: password=letter1+letter2+letter3+letter4
And then something else, like
This way it would go through the list like
aaac and so on, just a suggestion I guess
@Snowytrack it may or may not be 4am where i am... but i dont know why i wanted to say this, even though it is pretty stupid, you can do this
print(blue+"This text is blue")
print(blue) print("This is blue")
This method just seems simple, and it cuts down on the size of thing too, im just saying this because I looked at your coding story and saw you were doing it the second way.
Also dont take this too serious, im just bored
I made a fork of it here-https://repl.it/@gwood5901/BruteForce-Program#main.py I can't actually test it because I think you need the hacker plan for it to work(which I don't), but I think it should be able to run faster. I'm going to run it locally on my computer. I'll reply saying the results soon!
@RahulChoubey1 lmao the algorithm wasn't really good, even I admit it. If I had done a linear algorithm instead of random alrogithm it probably would've been faster. But, I didn't wanna spend like 4 hours researching on how to make a linear algorithm, so I had to stick with randomness.
Hello! as @Muffinlavania said, for loops are much more efficient than random guessing which means combinations can be repeated multiple times. This results in worse program times, so hopefully later you can add for loops and I expect reduce the time and guesses.
Here's some math!
90 characters are possible for each. Meaning the possibilities are 90^4 if you dont know exponents that is 90*90*90*90. That is a bigggg number (big! big! humongous!). However, if you use random choosing each time, it is theoretically possible to guess an infinite amount of times without ever getting it right.
So do for loops! 90^4 is big! But much smaller than infinity.
I would suggest using multithreading to make it faster. If you hadn't have the timepassed variable, you could've used multiproccessing which is about 30% faster than multithreading. But, anyways, this is a good project!
There is a more efficient way to crack even longer passwords than just for loops. There are "password dictionaries" which contain "keywords" that are found in most passwords, which most password crackers use. Those dictionaries can crack passowords such as [email protected][email protected] very easily.
Most passwords are also hashed, so most crackers will have to run on special GPUs designed for hashing up to 30 billion times a second.
You could look into that, there are some free dictionaries that you could definitely find online and could probably get you up to at least 8 characters
Also, since you have been getting a good amount of upvotes
(Me with my Uno game that for some reason blew up), here are some ideas for fun games to make:
Games with python(with turtle):
This allows you to have a physical turtle object moving around in the screen. If you dont know how to use this i can teach you it, its pretty darn cool.
Some ideas(These are all my game lol)
A Shoot the enemies game: https://repl.it/@Muffinlavania/Super-Blaster
Literally Drawing Simulator: https://repl.it/@Muffinlavania/Turtle-Fun
Survive the enemies!: https://repl.it/@Muffinlavania/Survival
Also some non-turtle ideas:
I see you already did the infamous story about me
im not a creep
Just making some games! Like a good one that isnt that hard, Tic tac Toe, or a text based game like a business simulator!
Also if you want any help i can help you lol
school is boring