Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Added nuclei fuzzing module

six2dez367ee0116ef4
diff --git a/install.sh b/install.sh
index f1eff76..56575fc 100755
--- a/install.sh
+++ b/install.sh
@@ -430,10 +430,10 @@ printf "${bblue}\n Running: Installing repositories (${#repos[@]})${reset}\n\n"
# Repos with special configs
eval git clone https://github.com/projectdiscovery/nuclei-templates ~/nuclei-templates $DEBUG_STD
eval git clone https://github.com/geeknik/the-nuclei-templates.git ~/nuclei-templates/extra_templates $DEBUG_STD
+eval git clone https://github.com/projectdiscovery/fuzzing-templates $tools/fuzzing-templates $DEBUG_STD
eval wget -q -O - https://raw.githubusercontent.com/NagliNagli/BountyTricks/main/ssrf.yaml > ~/nuclei-templates/ssrf_nagli.yaml $DEBUG_STD
eval wget -q -O - https://raw.githubusercontent.com/NagliNagli/BountyTricks/main/sap-redirect.yaml > ~/nuclei-templates/sap-redirect_nagli.yaml $DEBUG_STD
eval nuclei -update-templates $DEBUG_STD
-cd ~/nuclei-templates/extra_templates && eval git pull $DEBUG_STD
cd "$dir" || { echo "Failed to cd to $dir in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }
eval git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git $dir/sqlmap $DEBUG_STD
eval git clone --depth 1 https://github.com/drwetter/testssl.sh.git $dir/testssl.sh $DEBUG_STD
diff --git a/reconftw.cfg b/reconftw.cfg
index 5c35e4b..2b33e24 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -135,6 +135,7 @@ PROTO_POLLUTION=true # Check for prototype pollution flaws
SMUGGLING=true # Check for HTTP request smuggling flaws
WEBCACHE=true # Check for Web Cache issues
BYPASSER4XX=true # Check for 4XX bypasses
+FUZZPARAMS=true # Fuzz parameters values
# Extra features
NOTIFICATION=false # Notification for every function
diff --git a/reconftw.sh b/reconftw.sh
index 730a8ff..8f5bad6 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1890,6 +1890,32 @@ function webcache(){
fi
}
+function fuzzparams(){
+ if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$FUZZPARAMS" = true ] ; then
+ start_func ${FUNCNAME[0]} "Fuzzing params values checks"
+ if [ "$DEEP" = true ] || [[ $(cat webs/url_extract.txt | wc -l) -le $DEEP_LIMIT2 ]]; then
+ if [ ! "$AXIOM" = true ]; then
+ nuclei -update 2>>"$LOGFILE" >/dev/null
+ git -C $tools/fuzzing-templates pull
+ cat webs/url_extract.txt 2>/dev/null | nuclei -silent -retries 3 -rl $NUCLEI_RATELIMIT -t $tools/fuzzing-templates -o .tmp/fuzzparams.txt
+ else
+ axiom-exec "git clone https://github.com/projectdiscovery/fuzzing-templates /home/op/fuzzing-templates" &>/dev/null
+ axiom-scan webs/url_extract.txt -m nuclei -nh -retries 3 -w /home/op/fuzzing-templates -rl $NUCLEI_RATELIMIT -o .tmp/fuzzparams.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" >/dev/null
+ fi
+ [ -s ".tmp/fuzzparams.txt" ] && cat .tmp/fuzzparams.txt | anew -q vulns/fuzzparams.txt
+ end_func "Results are saved in vulns/fuzzparams.txt" ${FUNCNAME[0]}
+ else
+ end_func "Fuzzing params values: Too many entries to test, try with --deep flag" ${FUNCNAME[0]}
+ fi
+ else
+ if [ "$FUZZPARAMS" = false ]; then
+ printf "\n${yellow} ${FUNCNAME[0]} skipped in this mode or defined in reconftw.cfg ${reset}\n"
+ else
+ printf "${yellow} ${FUNCNAME[0]} is already processed, to force executing ${FUNCNAME[0]} delete\n $called_fn_dir/.${FUNCNAME[0]} ${reset}\n\n"
+ fi
+ fi
+}
+
###############################################################################################################
########################################## OPTIONS & MGMT #####################################################
###############################################################################################################
@@ -2378,6 +2404,7 @@ function vulns(){
webcache
spraying
brokenLinks
+ fuzzparams
test_ssl
fi
}