@@ -86,21 +86,22 @@ def data_gathering(self, short_domain, url, report_file_type, pagesearch_flag, k
86
86
for key in common_socials :
87
87
common_socials [key ] = list (set (common_socials [key ]))
88
88
total_socials = sum (len (values ) for values in common_socials .values ())
89
+ print (Fore .LIGHTMAGENTA_EX + "\n [BASIC SCAN END]\n " + Style .RESET_ALL )
89
90
if report_file_type == 'pdf' :
90
91
if pagesearch_flag .lower () == 'y' :
91
92
if subdomains [0 ] != 'No subdomains were found' :
92
93
to_search_array = [subdomains , social_medias , sd_socials ]
93
- print (Fore .LIGHTMAGENTA_EX + "\n [PAGESEARCH SUBPROCESS START]\n " + Style .RESET_ALL )
94
+ print (Fore .LIGHTMAGENTA_EX + "\n [EXTENDED SCAN START: PAGESEARCH ]\n " + Style .RESET_ALL )
94
95
ps_emails_return = normal_search (to_search_array , report_folder , keywords , keywords_flag )
95
- print (Fore .LIGHTMAGENTA_EX + "\n [PAGESEARCH SUBPROCESS END]\n " + Style .RESET_ALL )
96
+ print (Fore .LIGHTMAGENTA_EX + "\n [EXTENDED SCAN END: PAGESEARCH ]\n " + Style .RESET_ALL )
96
97
else :
97
98
print (Fore .RED + "Cant start PageSearch because no subdomains were detected" )
98
99
ps_emails_return = ""
99
100
pass
100
101
elif pagesearch_flag .lower () == 'si' :
101
- print (Fore .LIGHTMAGENTA_EX + "\n [PAGESEARCH SITEMAP INSPECTION SUBPROCESS START ]\n " + Style .RESET_ALL )
102
+ print (Fore .LIGHTMAGENTA_EX + "\n [EXTENDED SCAN START: PAGESEARCH SITEMAP INSPECTION]\n " + Style .RESET_ALL )
102
103
ps_emails_return = sitemap_inspection_search (report_folder )
103
- print (Fore .LIGHTMAGENTA_EX + "\n [PAGESEARCH SITEMAP INSPECTION SUBPROCESS END ]\n " + Style .RESET_ALL )
104
+ print (Fore .LIGHTMAGENTA_EX + "\n [EXTENDED SCAN END: PAGESEARCH SITEMAP INSPECTION]\n " + Style .RESET_ALL )
104
105
elif pagesearch_flag .lower () == 'n' :
105
106
ps_emails_return = ""
106
107
pass
@@ -113,17 +114,17 @@ def data_gathering(self, short_domain, url, report_file_type, pagesearch_flag, k
113
114
if pagesearch_flag .lower () == 'y' :
114
115
if subdomains [0 ] != 'No subdomains were found' :
115
116
to_search_array = [subdomains , social_medias , sd_socials ]
116
- print (Fore .LIGHTMAGENTA_EX + "\n [PAGESEARCH SUBPROCESS START]\n " + Style .RESET_ALL )
117
+ print (Fore .LIGHTMAGENTA_EX + "\n [EXTENDED SCAN START: PAGESEARCH ]\n " + Style .RESET_ALL )
117
118
ps_emails_return = normal_search (to_search_array , report_folder , keywords , keywords_flag )
118
- print (Fore .LIGHTMAGENTA_EX + "\n [PAGESEARCH SUBPROCESS END]\n " + Style .RESET_ALL )
119
+ print (Fore .LIGHTMAGENTA_EX + "\n [EXTENDED SCAN END: PAGESEARCH ]\n " + Style .RESET_ALL )
119
120
else :
120
121
print (Fore .RED + "Cant start PageSearch because no subdomains were detected" )
121
122
ps_emails_return = ""
122
123
pass
123
124
elif pagesearch_flag .lower () == 'si' :
124
- print (Fore .LIGHTMAGENTA_EX + "\n [PAGESEARCH SITEMAP INSPECTION SUBPROCESS START ]\n " + Style .RESET_ALL )
125
+ print (Fore .LIGHTMAGENTA_EX + "\n [EXTENDED SCAN START: PAGESEARCH SITEMAP INSPECTION]\n " + Style .RESET_ALL )
125
126
ps_emails_return = sitemap_inspection_search (report_folder )
126
- print (Fore .LIGHTMAGENTA_EX + "\n [PAGESEARCH SITEMAP INSPECTION SUBPROCESS END ]\n " + Style .RESET_ALL )
127
+ print (Fore .LIGHTMAGENTA_EX + "\n [EXTENDED SCAN END: PAGESEARCH SITEMAP INSPECTION]\n " + Style .RESET_ALL )
127
128
elif pagesearch_flag .lower () == 'n' :
128
129
ps_emails_return = ""
129
130
pass
0 commit comments