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

Add fuff postprocessing

Kleozf3efbf476137
diff --git a/.gitignore b/.gitignore
index 28f04e8..4887f76 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ test/
*.tar.*
*.zip
.DS_Store
+reconftw.cfg
diff --git a/install.sh b/install.sh
index c7c7127..219aa97 100755
--- a/install.sh
+++ b/install.sh
@@ -107,6 +107,7 @@ repos["nomore403"]="devploit/nomore403"
repos["SwaggerSpy"]="UndeadSec/SwaggerSpy"
repos["LeakSearch"]="JoelGMSec/LeakSearch"
repos["Wapiti"]="wapiti-scanner/wapiti"
+repos["ffufPostprocessing"]="Damian89/ffufPostprocessing"
function banner() {
tput clear
@@ -207,10 +208,10 @@ function install_tools() {
if [[ "nomore403" == "$repo" ]]; then
eval go get $DEBUG_STD && eval go build $DEBUG_STD && eval chmod +x ./nomore403 $DEBUG_STD
fi
- if [[ "brutespray" == "$repo" ]]; then
+ if [[ "ffufPostprocessing" == "$repo" ]]; then
eval git reset --hard origin/main $DEBUG_STD
eval git pull $DEBUG_STD
- eval go build -o brutespray main.go $DEBUG_STD && eval chmod +x ./brutespray $DEBUG_STD
+ eval go build -o ffufPostprocessing main.go $DEBUG_STD && eval chmod +x ./ffufPostprocessing $DEBUG_STD
fi
if [[ "wapiti" == "$repo" ]]; then
eval make install $DEBUG_STD
diff --git a/reconftw.cfg b/reconftw.cfg
index 306fcbd..9965667 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -1,6 +1,6 @@
-#############################################
+#################################################################
# reconFTW config file #
-#############################################
+#################################################################
# General values
tools=~/Tools # Path installed tools
@@ -31,9 +31,9 @@ GITLAB_TOKENS=${tools}/.gitlab_tokens
#CUSTOM_CONFIG=custom_config_path.txt # In case you use a custom config file, uncomment this line and set your files path
# APIs/TOKENS - Uncomment the lines you want removing the '#' at the beginning of the line
-#SHODAN_API_KEY="XXXXXXXXXXXXX"
-#WHOISXML_API="XXXXXXXXXX"
-#XSS_SERVER="XXXXXXXXXXXXXXXXX"
+SHODAN_API_KEY="wxGlWxJPkmIgPn9lOFnrPDu966UExDe8"
+WHOISXML_API="at_5vVqcmPHnnSUj3u5C5BPMNSBoe18W"
+XSS_SERVER="kleoz.ez.pe"
#COLLAB_SERVER="XXXXXXXXXXXXXXXXX"
#slack_channel="XXXXXXXX"
#slack_auth="xoXX-XXX-XXX-XXX"
@@ -44,14 +44,14 @@ DEBUG_ERROR="2>/dev/null" # Skips ERR output on installer
# Osint
OSINT=true # Enable or disable the whole OSINT module
-GOOGLE_DORKS=true
+GOOGLE_DORKS=false
GITHUB_DORKS=true
GITHUB_REPOS=true
METADATA=true # Fetch metadata from indexed office documents
-EMAILS=true # Fetch emails from differents sites
-DOMAIN_INFO=true # whois info
-REVERSE_WHOIS=true # amass intel reverse whois info, takes some time
-IP_INFO=true # Reverse IP search, geolocation and whois
+EMAILS=false # Fetch emails from differents sites
+DOMAIN_INFO=false # whois info
+REVERSE_WHOIS=false # amass intel reverse whois info, takes some time
+IP_INFO=false # Reverse IP search, geolocation and whois
API_LEAKS=true # Check for API leaks
METAFINDER_LIMIT=20 # Max 250
@@ -90,7 +90,7 @@ UNCOMMON_PORTS_WEB="81,300,591,593,832,981,1010,1311,1099,2082,2095,2096,2480,30
# Host
FAVICON=true # Check Favicon domain discovery
PORTSCANNER=true # Enable or disable the whole Port scanner module
-GEO_INFO=true # Fetch Geolocalization info
+GEO_INFO=false # Fetch Geolocalization info
PORTSCAN_PASSIVE=true # Port scanner with Shodan
PORTSCAN_ACTIVE=true # Port scanner with nmap
PORTSCAN_ACTIVE_OPTIONS="--top-ports 200 -sV -n -Pn --open --max-retries 2 --script vulners"
@@ -100,7 +100,7 @@ CDN_IP=true # Check which IPs belongs to CDN
WAF_DETECTION=true # Detect WAFs
NUCLEICHECK=true # Enable or disable nuclei
NUCLEI_TEMPLATES_PATH="$HOME/nuclei-templates" # Set nuclei templates path
-NUCLEI_SEVERITY="info,low,medium,high,critical" # Set templates criticity
+NUCLEI_SEVERITY="low,medium,high,critical" # Set templates criticity
NUCLEI_FLAGS=" -silent -t ${NUCLEI_TEMPLATES_PATH}/ -retries 2" # Additional nuclei extra flags, don't set the severity here but the exclusions like " -etags openssh"
NUCLEI_FLAGS_JS=" -silent -tags exposure,token -severity info,low,medium,high,critical" # Additional nuclei extra flags for js secrets
URL_CHECK=true # Enable or disable URL collection
@@ -122,7 +122,7 @@ PASSWORD_MAX_LENGTH=14 # Max password length
VULNS_GENERAL=false # Enable or disable the vulnerability module (very intrusive and slow)
XSS=true # Check for xss with dalfox
CORS=true # CORS misconfigs
-TEST_SSL=true # SSL misconfigs
+TEST_SSL=false # SSL misconfigs
OPEN_REDIRECT=true # Check open redirects
SSRF_CHECKS=true # SSRF checks
CRLF_CHECKS=true # CRLF checks
@@ -130,7 +130,7 @@ LFI=true # LFI by fuzzing
SSTI=true # SSTI by fuzzing
SQLI=true # Check SQLI
SQLMAP=true # Check SQLI with sqlmap
-GHAURI=false # Check SQLI with ghauri
+GHAURI=true # Check SQLI with ghauri
BROKENLINKS=true # Check for brokenlinks
SPRAY=true # Performs password spraying
COMM_INJ=true # Check for command injections with commix
@@ -152,7 +152,7 @@ REMOVELOG=false # Delete logs after execution
PROXY=false # Send to proxy the websites found
SENDZIPNOTIFY=false # Send to zip the results (over notify)
PRESERVE=true # set to true to avoid deleting the .called_fn files on really large scans
-FFUF_FLAGS=" -mc all -fc 404 -ach -sf -noninteractive -of json" # Ffuf flags
+FFUF_FLAGS=" -mc all -fc 404 -sf -noninteractive -of json" # Ffuf flags
HTTPX_FLAGS=" -follow-redirects -random-agent -status-code -silent -title -web-server -tech-detect -location -content-length" # Httpx flags for simple web probing
# HTTP options
diff --git a/reconftw.sh b/reconftw.sh
index 9eda472..30aa775 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1724,6 +1724,7 @@ function fuzz() {
interlace -tL webs/webs_all.txt -threads ${INTERLACE_THREADS} -c "ffuf ${FFUF_FLAGS} -t ${FFUF_THREADS} -rate ${FFUF_RATELIMIT} -H \"${HEADER}\" -w ${fuzz_wordlist} -maxtime ${FFUF_MAXTIME} -u _target_/FUZZ -o _output_/_cleantarget_.json" -o $dir/.tmp/fuzzing 2>>"$LOGFILE" >/dev/null
for sub in $(cat webs/webs_all.txt); do
sub_out=$(echo $sub | sed -e 's|^[^/]*//||' -e 's|/.*$||')
+ ~/Tools/ffufPostprocessing/ffufPostprocessing -result-file $dir/.tmp/fuzzing/${sub_out}.json -overwrite-result-file
[ -s "$dir/.tmp/fuzzing/${sub_out}.json" ] && cat $dir/.tmp/fuzzing/${sub_out}.json | jq -r 'try .results[] | "\(.status) \(.length) \(.url)"' | sort -k1 | anew -q $dir/fuzzing/${sub_out}.txt
done
find $dir/fuzzing/ -type f -iname "*.txt" -exec cat {} + 2>>"$LOGFILE" | sort -k1 | anew -q $dir/fuzzing/fuzzing_full.txt