Skip to content

Commit 11de265

Browse files
committed
Update smartrecon.sh
1 parent 2b55077 commit 11de265

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

smartrecon.sh

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ usage() {
2222
option:
2323
-a | --alt : Additionally permutate subdomains
2424
-b | --brute : Basic directory bruteforce
25-
-f | --fuzz : SSRF/XSS/Nuclei fuzzing
25+
-f | --fuzz : SSRF/XSS/Nuclei/CORSE/prototype fuzzing
2626
-s | --ssrf : SSRF fuzzing
2727
-x | --xss : XSS fuzzing
28-
-n | --nuclei: Nuclei fuzzing " 1>&2; exit 1;
28+
-n | --nuclei: Nuclei fuzzing
29+
-c | --cors : Nuclei fuzzing
30+
-p | --pp : prototype pollution fuzzing" 1>&2; exit 1;
2931
}
3032

3133

@@ -46,10 +48,12 @@ checkargs(){
4648
case $1 in
4749
-a | --alt ) alt="1";;
4850
-b | --brute ) brute="1";;
49-
-f | --fuzz ) ssrf="1" xss="1" nuclei="1" ;;
51+
-f | --fuzz ) ssrf="1" xss="1" nuclei="1" corse="1" prototype="1" ;;
5052
-s | --ssrf ) ssrf="1";;
5153
-x | --xss ) xss="1";;
5254
-n | --nuclei) nuclei="1";;
55+
-n | --cors ) corse="1";;
56+
-n | --pp ) prototype="1";;
5357
esac
5458
shift
5559
done
@@ -446,12 +450,12 @@ fi
446450
if [[ -n "$xss" ]]; then
447451
XSS_Scanner $domain
448452
fi
449-
# if [[ -n "$cors" ]]; then
450-
# CORS_Scanner $domain
451-
# fi
452-
# if [[ -n "$prototype" ]]; then
453-
# Prototype_Pollution_Scanner $domain
454-
# fi
453+
if [[ -n "$cors" ]]; then
454+
CORS_Scanner $domain
455+
fi
456+
if [[ -n "$prototype" ]]; then
457+
Prototype_Pollution_Scanner $domain
458+
fi
455459

456460

457461
report $domain

0 commit comments

Comments
 (0)