Skip to content
← Back to Community
Bruteforce Password Guesser (I'm back)
Profile icon
Snowytrack

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!

Voters
Profile icon
hibobdotcom
Profile icon
Dom914
Profile icon
kaanalp28
Profile icon
banjoRoger
Profile icon
nerd-exe
Profile icon
AyuubA
Profile icon
cshift
Profile icon
AshtonCanaday
Profile icon
AydenKumar
Profile icon
CHARLESCOPELAND
Comments
hotnewtop
Profile icon
Muffinlavania

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 if password==userthing
This way it would go through the list like aaaa aaab aaac and so on, just a suggestion I guess

Profile icon
leo-ironkey
Profile icon
Snowytrack

@FishingFights Yea, I understand that my programs aren't really efficient, but I had fun making them! Thanks for the helpful feedback everyone!

Profile icon
Muffinlavania

@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")

Instead of

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

Profile icon
Snowytrack

@Muffinlavania ight thanks for the feedback!

Profile icon
AnuskaGiri1

@Snowytrack it is still loading it has been 20 min

Profile icon
AmethystMoon1

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!

Profile icon
NoNameByProgram

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)

Profile icon
Snowytrack

@NoNameByProgram ok! Will check it out next time! Thanks!

Profile icon
leo-ironkey

@NoNameByProgram yeah his approach by guessing each char randomly is not exactly efficient to say the least

Profile icon
Snowytrack

@FishingFights Yea this was actually my first try lol. Thanks for the feedback though!

Profile icon
[deleted]

@Snowytrack i typed in AJDevelopment2936 (not my real password) and its at 44000 tries.

Profile icon
RahulChoubey1

@Snowytrack I agree with @FishingFights. It might guess the same thing twice, or every time if you're astronomically unlucky.

Profile icon
RahulChoubey1

Also, my PIN contains a space, so…

Profile icon
[deleted]

@AJDevelopment

image

Something tells me, I'm going to be here for around 49 billion years

Profile icon
leo-ironkey
Profile icon
NoNameByProgram
Profile icon
RahulChoubey1

@NoNameByProgram um… my password is "nope" and already 200000 tries.

Profile icon
RahulChoubey1

@NoNameByProgram when you think that ____ is insecure and the thingo is still running after an hour

Profile icon
RahulChoubey1

@NoNameByProgram also, line 11 can be changed to clear = replit.clear which is shorter and more readable

Profile icon
Snowytrack

@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.

Profile icon
RahulChoubey1

@Snowytrack do you want an example? just give criteria

Profile icon
NoNameByProgram

@RahulChoubey1 ...that's the point of brute force

Profile icon
NoNameByProgram

@Snowytrack at least i added memory (a list containing the passwords guessed)

Profile icon
LuigiSB

can i get someones tiktok password with this
?

Profile icon
rediar

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.

Profile icon
johndo3

it takes 12,852,541 tries to guess 1234
Screen Shot 2020-09-29 at 5.36.15 PM

Profile icon
AmazingMech2418

I thought that was a weak password... LOL!
image

Profile icon
rediar

@AmazingMech2418 Keep in mind this isn't the most efficient or fastest password cracker, meaning don't use that password lol

Profile icon
nerd-exe

i just put in u8de and its taking so long

Profile icon
nerd-exe

@GarryHo it ended up taking 50,999,139 passwords, jeez

Profile icon
adl212

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!

Profile icon
Snowytrack

@adl212 thanks for the helpful feedback and criticism!

Profile icon
adl212

@Snowytrack No problem.

Profile icon
Blackout4344

Amazing!

Profile icon
adl212

I put a password that has more than 4 letters... it still worked though.

Profile icon
Snowytrack

@adl212 really? Huh interesting

Profile icon
Spitfier720

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

Profile icon
jellyfish69420

1 million + tries to guess the password: aaaa

Profile icon
Snowytrack

@Wilburthecoder you can only do four for a password

Profile icon
jellyfish69420

@Snowytrack oh i meant aaaa

Profile icon
Jakman

Ahh the random algorithim. Try the linear algorithim next time for more of a challenge. It is more efficient.

Profile icon
Snowytrack

@Jakman yea this was my first try. Thx for the feeeback

Profile icon
Henslo

Why does it randomly guess that can take forever

Profile icon
Henslo

If you put a password in the computer could just return the input

Profile icon
Muffinlavania

@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

Profile icon
0vRAllTheStonks

16547858 password guessed...

Password is poop

Profile icon
hazelpy

I inputted "four" and it hasn't found it yet. It's been 5 minutes haha

Profile icon
AgastyaSandhuja

image
my password was abcd1234

Profile icon
Snowytrack

@AgastyaSandhuja You can only put about 4 letters in your password to prevent massive lag. Will fix that next time, sorry!

Profile icon
AgastyaSandhuja
Profile icon
PotatooooooMan

55000000 to guess game

Profile icon
realTronsi

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

Profile icon
[deleted]

The program is at 10 million, the password is 1h5g and the code just prints out the input at the end.

Profile icon
Snowytrack

@AJDevelopment but look at the code, it actually guesses the passwords.

Profile icon
tankerguy1917

so far 10 mil, and my password is 1ma0. haha i just realized 1ma0= lmao, haha

Profile icon
Bookie0

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! :)

Profile icon
Leroy01010

40427570 passwords guessed!!!!

INSANE JARVIS

i put meto

Profile icon
glitchish

[email protected]** is my password, try it

Profile icon
Baconman321

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"

Profile icon
Leroy01010
Profile icon
s163599

24267353 password guessed...
Password is 1234
24 million tries later: ohhh, I got it is 1234!

Profile icon
leo-ironkey

rip algorithm @studentEthanEt2

Profile icon
Muffinlavania

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

Profile icon
Snowytrack

@Muffinlavania Yea, that sounds pretty interesting! Thanks for the feedback! And also, your uno game was so fun to play!

Profile icon
Muffinlavania

@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

Profile icon
HarperframeInc

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.

Profile icon
Snowytrack

@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!