Code: Select all
Traceback (most recent call last):
File "C:\Users\Shella\Downloads\crack_password (4).py", line 582, in <module>
sys.exit(main(sys.argv[1:]))
File "C:\Users\Shella\Downloads\crack_password (4).py", line 508, in main
foundit = search_method_3("passwords.txt")
File "C:\Users\Shella\Downloads\crack_password (4).py", line 275, in search_method_3
f = open(file_name)
FileNotFoundError: [Errno 2] No such file or directory: 'passwords.txt'
>>>
Hi, I am currently doing the 'Password Security: How Easily Can Your Password Be Hacked?' project, however when I was doing it, I encountered an error. When the program tries to guess password0, it gives an error (at above). I have placed crack.password.py and passwords.txt (I'm not sure how to make this into a file because initially it just opens up a new URL, so what I did is I just copy paste the entire URL and rename it after passwords.txt, I'm not sure whether I did it right, pleaseeee correct me if I'm wrong, and the file type is Internet Shortcut by the way) in the same folder (I created a new folder and named it after this project) but it still says no such file or directory, I don't get it. I don't know what to do, pleaseee help me, I have to submit this in the upcoming weekkk.
[Project:
https://www.sciencebuddies.org/science- ... -be-hacked ]