Bruteforce Password Guesser (I'm back)
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!
Enjoy!
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!
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!
Nice! Also, try the itertools
modules for future projects. Here's a design I made with it: https://repl.it/@NoNameByProgram/PIN-Cracker (not advertising)
@NoNameByProgram ok! Will check it out next time! Thanks!
@NoNameByProgram yeah his approach by guessing each char randomly is not exactly efficient to say the least
@FishingFights Yea this was actually my first try lol. Thanks for the feedback though!
@Snowytrack i typed in AJDevelopment2936 (not my real password) and its at 44000 tries.
@Snowytrack I agree with @FishingFights. It might guess the same thing twice, or every time if you're astronomically unlucky.
Also, my PIN contains a space, so…
@NoNameByProgram um… my password is "nope" and already 200000 tries.
@NoNameByProgram when you think that ____
is insecure and the thingo is still running after an hour
@NoNameByProgram also, line 11 can be changed to clear = replit.clear
which is shorter and more readable
@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.
@Snowytrack do you want an example? just give criteria
@RahulChoubey1 ...that's the point of brute force
@Snowytrack at least i added memory (a list containing the passwords guessed)
can i get someones tiktok password with this
?
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.
@AmazingMech2418 Keep in mind this isn't the most efficient or fastest password cracker, meaning don't use that password lol
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!
@adl212 thanks for the helpful feedback and criticism!
@Snowytrack No problem.
Amazing!
I put a password that has more than 4 letters... it still worked though.
@adl212 really? Huh interesting
I would have to add that if you want to check a password using brute force, randomly picking passwords won't help as they may never get to the actual correct password
1 million + tries to guess the password: aaaa
@Wilburthecoder you can only do four for a password
@Snowytrack oh i meant aaaa
Ahh the random algorithim. Try the linear algorithim next time for more of a challenge. It is more efficient.
@Jakman yea this was my first try. Thx for the feeeback
Why does it randomly guess that can take forever
If you put a password in the computer could just return the input
@hello1964 the whole point is if you had a prompt, like a login, the bot would enter as many things as it can, using an algorithm. You inputting a password is just for you actually seeing how it works
16547858 password guessed...
Password is poop
I inputted "four" and it hasn't found it yet. It's been 5 minutes haha
@AgastyaSandhuja You can only put about 4 letters in your password to prevent massive lag. Will fix that next time, sorry!
oh, ok
@Snowytrack
55000000 to guess game
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
The program is at 10 million, the password is 1h5g and the code just prints out the input at the end.
@AJDevelopment but look at the code, it actually guesses the passwords.
so far 10 mil, and my password is 1ma0. haha i just realized 1ma0= lmao, haha
After arduous nights and days wondering whether I should code another program, I'm back.
lol of course you have to try to always make programs
but good job! :)
[email protected]** is my password, try it
100 million guesses so far, and it still hasn't guessed 5913 LOL
EDIT:
166 million 179 thousand 4 hundred 55 tries after starting...
"166179455 password guessed...
Password is 5913"
24267353 password guessed...
Password is 1234
24 million tries later: ohhh, I got it is 1234!
rip algorithm @studentEthanEt2
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
@Muffinlavania Yea, that sounds pretty interesting! Thanks for the feedback! And also, your uno game was so fun to play!
@Snowytrack yay thanks. Also Wanna play some Connect 4?
https://repl.it/@Muffinlavania/Connect-4#main.py
Oh wait i already showed you this, but i completed it so whatever.
Also pls let me do something for you im bored
Random isn't optimal - your trying to break a password with the wrong password multiple times. You can use itertools
like @NoNameByProgram said, or try to a generator which generates a list of all possible password combinations.
@HarperframeInc Sorry, this is my first "password guessing program" that I made. Next time I will definitely put this into consideration! Thanks for the feedback!
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
And then something else, like
if password==userthing
This way it would go through the list like
aaaa
aaab
aaac
and so on, just a suggestion I guess@Snowytrack this ^
@FishingFights Yea, I understand that my programs aren't really efficient, but I had fun making them! Thanks for the helpful feedback everyone!
@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
Instead of
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.
@Muffinlavania ight thanks for the feedback!
@Snowytrack it is still loading it has been 20 min