Brute Force Password Guesser
Zexogon (697)

Enter a number password and have it cracked by force
You can see the guessing happening in real time
See how many passwords it tries before it gets yours
5 digit numbers recommended as anything lager can take a while

You are viewing a single comment. View All
ChezCoder (130)

@Zexogon you can do this:

import random
import os

randomPassword = ''
alphabetList = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','w','x','y','z']
guess = input('enter string!')
guess = guess.lower()         #set user input to lowercase

while randomPassword != guess:
  randomPassword = ''
  for i in range(random.randint(1,10)):
    randomPassword += random.choice(alphabetList) #this code creates the random string.
  print(randomPassword)
  os.system('clear')