Crack password with python

 

Crack password with python







Today we will see a basic program that is basically a hint to brute force attack to crack passwords. In other words, we will make a program to Crack Any Password Using Python

So, we are applying a brute force attack here with the help of a while loop in python.


CODE:

from random import *
user_pass = input("Enter your password : ")
password = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j','k',
'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't','u','v',
'w', 'x', 'y', 'z']
guess = ""
while (guess != user_pass):
guess = ""
for letter in range(len(user_pass)):
guess_letter = password[randint(0, 25)]
guess = str(guess_letter) + str(guess)
print("CRACKING PASSWORD : PLEASE WAIT ")
print(guess)
print("YOUR PASSWORD IS 'CRACKED' : ",guess)

#LET'S CRACK THE PASSWORD

Post a Comment

My Instagram

Made with by Pi-girl | Copyright © 2020 Pi-girl