Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os.path
- try:
- wordlist = open("/usr/share/wordlists/rockyou.txt", encoding="ISO-8859-1")
- except IOError:
- print("wordlist not found")
- for line in wordlist.readlines():
- name = "/home/gino/" + line
- try:
- if os.path.isfile(name) or os.path.isfile("." + name) or os.path.isfile(name + ".txt") or os.path.isfile(name + ".sh"):
- print("Found: " + name)
- except:
- continue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement