Python Forum
Python help - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Python help (/thread-37399.html)



Python help - cagueca - Jun-05-2022

Hello :

im new to python and i need a bit of help ..

im trying to build one password finder but im stuck .

Here is the code i have .

* problem - i want to try every password in file in a input box from other software in my pc
i dont know how to call or how to python detect inputbox from the other software .

 # try password list one by one 

file = open("rockyou2021.txt", 'r')


for password in file:

    try:
        
        print("Password Found: {}".format(password))
        break

    except:

        print("Trying password: {}".format(password))

        continue
Best regards

cagueca