@@ -111,7 +111,7 @@ def run():
111
111
keywords_list = None
112
112
keywords_flag = 0
113
113
if report_filetype .lower () == 'pdf' or report_filetype .lower () == 'xlsx' or report_filetype .lower () == 'html' :
114
- dorking_flag = input (Fore .YELLOW + "Select Dorking mode [Basic/IoT/Files/None] >> " )
114
+ dorking_flag = input (Fore .YELLOW + "Select Dorking mode [Basic/IoT/Files/Admins/ None] >> " )
115
115
#api_flag = input(Fore.YELLOW + "Would you like to use 3rd party API in scan? [Y/N] >> ")
116
116
#if api_flag.lower() == 'y':
117
117
#print api db content
@@ -129,7 +129,7 @@ def run():
129
129
pagesearch_ui_mark = 'Yes, in Sitemap Inspection mode'
130
130
else :
131
131
pagesearch_ui_mark = 'Yes, without keywords search'
132
- if dorking_flag .lower () not in ['basic' , 'iot' , 'none' , 'files' ]:
132
+ if dorking_flag .lower () not in ['basic' , 'iot' , 'none' , 'admins' , ' files' ]:
133
133
print (Fore .RED + "\n Invalid Dorking mode. Please select mode among Basic, IoT, Files or None" )
134
134
break
135
135
else :
@@ -144,6 +144,9 @@ def run():
144
144
elif dorking_flag .lower () == 'files' :
145
145
row_count = get_columns_amount ('dorking//files_dorking.db' , 'files_dorks' )
146
146
dorking_ui_mark = f'Yes, Files dorking ({ row_count } dorks)'
147
+ elif dorking_flag .lower () == 'admins' :
148
+ row_count = get_columns_amount ('dorking//adminpanels_dorking.db' , 'adminpanels_dorks' )
149
+ dorking_ui_mark = f'Yes, Admin panels dorking ({ row_count } dorks)'
147
150
print (Fore .LIGHTMAGENTA_EX + "\n [PRE-SCAN SUMMARY]\n " + Style .RESET_ALL )
148
151
print (Fore .GREEN + "Determined target: " + Fore .LIGHTCYAN_EX + Style .BRIGHT + short_domain + Style .RESET_ALL )
149
152
print (Fore .GREEN + "Report type: " + Fore .LIGHTCYAN_EX + Style .BRIGHT + report_filetype .lower () + Style .RESET_ALL )
0 commit comments