So hello guys, This blog will guide you how to make a Brute Force program in Python.
Brute Force means Trying one by one each and every character to reach the required password.
Here is the code -
from time import sleep
n = input("Enter here word: ")
chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ "
out = ""
for i in range(len(n)):
for s in chars:
sleep(0.005)
print(out+s)
if s==n[i]:
out+=s
if out==n:
break
Copy this and paste in a new file - file.py
Thanks, I hope you will get some knowledge
No comments:
Post a Comment