Skip to content

Commit ab48989

Browse files
Temporarily disabled XLSX reporting selection
1 parent 9ad3fb3 commit ab48989

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dpulse.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ def run():
115115
print(Fore.RED + "Entered domain is not accessible. Scan is impossible" + Style.RESET_ALL)
116116
break
117117
case_comment = input(Fore.YELLOW + "Enter case comment >> ")
118-
report_filetype = input(Fore.YELLOW + "Enter report file extension [XLSX/HTML] >> ")
118+
report_filetype = input(Fore.YELLOW + "Enter report file extension [HTML] >> ")
119119
if not report_filetype:
120120
print(Fore.RED + "\nReport filetype cannot be empty")
121-
if report_filetype.lower() not in ['xlsx', 'html']:
122-
print(Fore.RED + '\nYou need to choose between XLSX or HTML report file types')
121+
if report_filetype.lower() not in ['html']: # temporarily disabled since v1.2.1 (['xlsx', 'html'])
122+
print(Fore.RED + '\nTemporarily you have to choose only HTML report file type')
123123
else:
124124
#print(Fore.GREEN + "[!] SI mode suppose you to have sitemap_links.txt file in report folder [!]\n[!] It'll visit every link from this file [!]")
125125
pagesearch_flag = input(Fore.YELLOW + "Would you like to use PageSearch function? [Y/N (for No)] >> ")
@@ -141,7 +141,7 @@ def run():
141141
#elif pagesearch_flag.lower() == 'si':
142142
#keywords_list = None
143143
#keywords_flag = 0
144-
if report_filetype.lower() == 'xlsx' or report_filetype.lower() == 'html':
144+
if report_filetype.lower() == 'html': #report_filetype.lower() == 'xlsx' or (temporarily disabled xlsx reporting)
145145
dorking_flag = input(Fore.YELLOW + "Select Dorking mode [Basic/IoT/Files/Admins/Web/Custom/N (for None)] >> ")
146146
api_flag = input(Fore.YELLOW + "Would you like to use 3rd party API in scan? [Y/N (for No)] >> ")
147147
if api_flag.lower() == 'y':
@@ -212,7 +212,7 @@ def run():
212212
print(Fore.LIGHTMAGENTA_EX + "[BASIC SCAN START]\n" + Style.RESET_ALL)
213213
spinner_thread = ProgressBar()
214214
spinner_thread.start()
215-
if report_filetype.lower() in ['xlsx', 'html']:
215+
if report_filetype.lower() in ['html']: # ['xlsx'] temporarily disabled
216216
process_report(report_filetype, short_domain, url, case_comment,
217217
keywords_list, keywords_flag, dorking_flag, used_api_flag,
218218
pagesearch_flag, pagesearch_ui_mark, spinner_thread, snapshotting_flag, snapshotting_ui_mark, username)

0 commit comments

Comments
 (0)