Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hhhrrrttt222111
GitHub Repository: hhhrrrttt222111/Dorkify
Path: blob/master/Modules/userpass.py
810 views
1
import sys
2
import time
3
4
import core.search_url as search_url
5
import core.logo as logo
6
import core.colors as colors
7
import core.mods as mods
8
9
10
def userpass():
11
def userpass_menu():
12
global ch
13
mods.clear_screen()
14
logo.dorkify_logo()
15
16
print(f'''
17
CHOOSE OPTION :
18
19
{colors.bcolors.OKBLUE}[~]{colors.bcolors.ENDC} Vulnerable log files containing passwords [1]
20
{colors.bcolors.OKBLUE}[~]{colors.bcolors.ENDC} Less secured password files [2]
21
{colors.bcolors.OKBLUE}[~]{colors.bcolors.ENDC} Vulnerable passwords list [3]
22
{colors.bcolors.OKBLUE}[~]{colors.bcolors.ENDC} Vulnerable password DAT files [4]
23
{colors.bcolors.OKBLUE}[~]{colors.bcolors.ENDC} SQL files vulnerable passwords [5]
24
{colors.bcolors.OKBLUE}[~]{colors.bcolors.ENDC} Vulnerable password text files [6]
25
{colors.bcolors.OKBLUE}[~]{colors.bcolors.ENDC} Vulnerable password files [7]
26
{colors.bcolors.OKBLUE}[~]{colors.bcolors.ENDC} Web pages with User lists [8]
27
{colors.bcolors.OKBLUE}[~]{colors.bcolors.ENDC} Search for database password files [9]
28
29
''')
30
31
ch = int(input(" --> "))
32
print('\n\n')
33
34
35
userpass_menu()
36
37
if ch == 1:
38
q = 'allintext:username,password filetype:log'
39
print('\n Searching...\n')
40
time.sleep(1)
41
search_url.url_search(q)
42
43
elif ch == 2:
44
q = 'allintext:password filetype:log'
45
print('\n Searching...\n')
46
time.sleep(1)
47
search_url.url_search(q)
48
49
elif ch == 3:
50
q = 'intitle:"index of " "*.passwords.txt"'
51
print('\n Searching...\n')
52
time.sleep(1)
53
search_url.url_search(q)
54
55
elif ch == 4:
56
q = 'filetype:dat "password.dat'
57
print('\n Searching...\n')
58
time.sleep(1)
59
search_url.url_search(q)
60
61
elif ch == 5:
62
q = 'filetype:sql password'
63
print('\n Searching...\n')
64
time.sleep(1)
65
search_url.url_search(q)
66
67
elif ch == 6:
68
q = 'intext:"Index of /" +password.txt'
69
print('\n Searching...\n')
70
time.sleep(1)
71
search_url.url_search(q)
72
73
elif ch == 7:
74
q = 'intitle:"index of" passwd'
75
print('\n Searching...\n')
76
time.sleep(1)
77
search_url.url_search(q)
78
79
elif ch == 8:
80
q = 'intitle: index.of people.lst'
81
print('\n Searching...\n')
82
time.sleep(1)
83
search_url.url_search(q)
84
85
elif ch == 9:
86
q = 'intitle: "Index of" pwd.db'
87
print('\n Searching...\n')
88
time.sleep(1)
89
search_url.url_search(q)
90
91
else:
92
print('INVALID OPTION \n TRY AGAIN')
93
sys.exit()
94