Skip to content

Commit ce9fe7c

Browse files
Disabled SI variant selection (PageSearch SI end of life)
1 parent 884ee19 commit ce9fe7c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

dpulse.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ def run():
121121
if report_filetype.lower() not in ['xlsx', 'html']:
122122
print(Fore.RED + '\nYou need to choose between XLSX or HTML report file types')
123123
else:
124-
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 [!]")
125-
pagesearch_flag = input(Fore.YELLOW + "Would you like to use PageSearch function? [Y/SI/N (for No)] >> ")
124+
#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 [!]")
125+
pagesearch_flag = input(Fore.YELLOW + "Would you like to use PageSearch function? [Y/N (for No)] >> ")
126126
if pagesearch_flag.lower() == 'y':
127127
keywords_input = input(Fore.YELLOW + "Enter keywords (separate by comma) to search in files during PageSearch process (or write N if you don't need it) >> ")
128128
if keywords_input.lower() != "n":
@@ -138,9 +138,9 @@ def run():
138138
elif pagesearch_flag.lower() == 'n':
139139
keywords_list = None
140140
keywords_flag = 0
141-
elif pagesearch_flag.lower() == 'si':
142-
keywords_list = None
143-
keywords_flag = 0
141+
#elif pagesearch_flag.lower() == 'si':
142+
#keywords_list = None
143+
#keywords_flag = 0
144144
if report_filetype.lower() == 'xlsx' or report_filetype.lower() == 'html':
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)] >> ")
@@ -169,13 +169,13 @@ def run():
169169
print(Fore.RED + "\nInvalid API usage mode" + Style.RESET_ALL)
170170
break
171171
snapshotting_flag = input(Fore.YELLOW + "Select Snapshotting mode [S(creenshot)/P(age Copy)/N (for None)] >> ")
172-
if pagesearch_flag.lower() == 'y' or pagesearch_flag.lower() == 'n' or pagesearch_flag.lower() == 'si':
172+
if pagesearch_flag.lower() == 'y' or pagesearch_flag.lower() == 'n':# or pagesearch_flag.lower() == 'si':
173173
if pagesearch_flag.lower() == "n":
174174
pagesearch_ui_mark = 'No'
175175
elif pagesearch_flag.lower() == 'y' and keywords_flag == 1:
176176
pagesearch_ui_mark = f'Yes, with {keywords_list} keywords search'
177-
elif pagesearch_flag.lower() == 'si':
178-
pagesearch_ui_mark = 'Yes, in Sitemap Inspection mode'
177+
#elif pagesearch_flag.lower() == 'si':
178+
#pagesearch_ui_mark = 'Yes, in Sitemap Inspection mode'
179179
else:
180180
pagesearch_ui_mark = 'Yes, without keywords search'
181181
if dorking_flag.lower() not in ['basic', 'iot', 'n', 'admins', 'files', 'web', 'custom']:
@@ -217,7 +217,7 @@ def run():
217217
keywords_list, keywords_flag, dorking_flag, used_api_flag,
218218
pagesearch_flag, pagesearch_ui_mark, spinner_thread, snapshotting_flag, snapshotting_ui_mark, username)
219219
else:
220-
print(Fore.RED + "\nUnsupported PageSearch mode. Please choose between Y, N or SI")
220+
print(Fore.RED + "\nUnsupported PageSearch mode. Please choose between Y or N")
221221

222222
elif choice == "2":
223223
import configparser

0 commit comments

Comments
 (0)