@@ -223,17 +223,6 @@ vulnerabilities(){
223
223
cat or_urls.txt | qsreplace " //google.com/" | httpx -silent -status-code -location
224
224
cat or_urls.txt | qsreplace " //\google.com" | httpx -silent -status-code -location
225
225
226
- printf " \n${GREEN} [+] Vulnerability: XSS${NORMAL} \n"
227
- printf " ${NORMAL}${CYAN} Trying to find XSS vulnerabilities...${NORMAL} \n\n"
228
- gau $domain | gf xss | sed ' s/=.*/=/' | sed ' s/URL: //' | dalfox pipe -o xss.txt
229
-
230
- printf " \n${GREEN} [+] Vulnerability: SQLi${NORMAL} \n"
231
- printf " ${NORMAL}${CYAN} Finding SQLi entry points in the domain...${NORMAL} \n\n"
232
- gau $domain | gf sqli | tee sqli_paramaters.txt
233
- printf " \n"
234
- printf " ${NORMAL}${CYAN} Checking if the entry points are vulnerable...${NORMAL} \n\n"
235
- sqlmap -m sqli --batch --random-agent --level 1
236
-
237
226
printf " \n${GREEN} [+] Vulnerability: SSRF${NORMAL} \n"
238
227
printf " ${NORMAL}${CYAN} Trying to find SSRF vulnerabilities...${NORMAL} \n\n"
239
228
printf " ${RED} [!] Remember to enter your Burp Collaborator link in the configuration.cfg file \n\n${NORMAL} "
@@ -247,6 +236,17 @@ vulnerabilities(){
247
236
printf " ${NORMAL}${CYAN} Searching enpoints in JS files...${NORMAL} \n\n"
248
237
cat js.txt | grep -aoP " (?<=(\" |\'|\` ))\/[a-zA-Z0-9_?&=\/\-\#\.]*(?=(\" |\'|\` ))" | sort -u | tee endpoints.txt
249
238
239
+ printf " \n${GREEN} [+] Vulnerability: XSS${NORMAL} \n"
240
+ printf " ${NORMAL}${CYAN} Trying to find XSS vulnerabilities...${NORMAL} \n\n"
241
+ gau $domain | gf xss | sed ' s/=.*/=/' | sed ' s/URL: //' | dalfox pipe -o xss.txt
242
+
243
+ printf " \n${GREEN} [+] Vulnerability: SQLi${NORMAL} \n"
244
+ printf " ${NORMAL}${CYAN} Finding SQLi entry points in the domain...${NORMAL} \n\n"
245
+ gau $domain | gf sqli | tee sqli_paramaters.txt
246
+ printf " \n"
247
+ printf " ${NORMAL}${CYAN} Checking if the entry points are vulnerable...${NORMAL} \n\n"
248
+ sqlmap -m sqli_paramaters.txt --batch --random-agent --level 1
249
+
250
250
printf " \n${GREEN} [+] Vulnerability: Multiples vulnerabilities${NORMAL} \n"
251
251
printf " ${NORMAL}${CYAN} Running multiple templates to discover vulnerabilities...${NORMAL} \n\n"
252
252
nuclei -u $domain -t ~ /tools/nuclei-templates/ -severity low,medium,high,critical -silent -o mutiple_vulnerabilities.txt
0 commit comments