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
Shell bug-bountybugbountybugbounty-tooldnshackingnucleiosintpenetration-testingpentestpentest-toolpentestingreconreconnaissancescannersecuritysecurity-toolssubdomainsubdomain-enumerationvulnerabilities
Add fuff postprocessing
Kleozf3efbf476137
diff --git a/.gitignore b/.gitignoreindex 28f04e8..4887f76 100644--- a/.gitignore+++ b/.gitignore@@ -10,3 +10,4 @@ test/*.tar.**.zip.DS_Store+reconftw.cfgdiff --git a/install.sh b/install.shindex 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" ]]; theneval go get $DEBUG_STD && eval go build $DEBUG_STD && eval chmod +x ./nomore403 $DEBUG_STDfi- if [[ "brutespray" == "$repo" ]]; then+ if [[ "ffufPostprocessing" == "$repo" ]]; theneval git reset --hard origin/main $DEBUG_STDeval 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_STDfiif [[ "wapiti" == "$repo" ]]; theneval make install $DEBUG_STDdiff --git a/reconftw.cfg b/reconftw.cfgindex 306fcbd..9965667 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -1,6 +1,6 @@-#############################################+################################################################## reconFTW config file #-#############################################+################################################################## General valuestools=~/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# OsintOSINT=true # Enable or disable the whole OSINT module-GOOGLE_DORKS=true+GOOGLE_DORKS=falseGITHUB_DORKS=trueGITHUB_REPOS=trueMETADATA=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 whoisAPI_LEAKS=true # Check for API leaksMETAFINDER_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# HostFAVICON=true # Check Favicon domain discoveryPORTSCANNER=true # Enable or disable the whole Port scanner module-GEO_INFO=true # Fetch Geolocalization info+GEO_INFO=false # Fetch Geolocalization infoPORTSCAN_PASSIVE=true # Port scanner with ShodanPORTSCAN_ACTIVE=true # Port scanner with nmapPORTSCAN_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 CDNWAF_DETECTION=true # Detect WAFsNUCLEICHECK=true # Enable or disable nucleiNUCLEI_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 criticityNUCLEI_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 secretsURL_CHECK=true # Enable or disable URL collection@@ -122,7 +122,7 @@ PASSWORD_MAX_LENGTH=14 # Max password lengthVULNS_GENERAL=false # Enable or disable the vulnerability module (very intrusive and slow)XSS=true # Check for xss with dalfoxCORS=true # CORS misconfigs-TEST_SSL=true # SSL misconfigs+TEST_SSL=false # SSL misconfigsOPEN_REDIRECT=true # Check open redirectsSSRF_CHECKS=true # SSRF checksCRLF_CHECKS=true # CRLF checks@@ -130,7 +130,7 @@ LFI=true # LFI by fuzzingSSTI=true # SSTI by fuzzingSQLI=true # Check SQLISQLMAP=true # Check SQLI with sqlmap-GHAURI=false # Check SQLI with ghauri+GHAURI=true # Check SQLI with ghauriBROKENLINKS=true # Check for brokenlinksSPRAY=true # Performs password sprayingCOMM_INJ=true # Check for command injections with commix@@ -152,7 +152,7 @@ REMOVELOG=false # Delete logs after executionPROXY=false # Send to proxy the websites foundSENDZIPNOTIFY=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 flagsHTTPX_FLAGS=" -follow-redirects -random-agent -status-code -silent -title -web-server -tech-detect -location -content-length" # Httpx flags for simple web probing# HTTP optionsdiff --git a/reconftw.sh b/reconftw.shindex 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/nullfor sub in $(cat webs/webs_all.txt); dosub_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}.txtdonefind $dir/fuzzing/ -type f -iname "*.txt" -exec cat {} + 2>>"$LOGFILE" | sort -k1 | anew -q $dir/fuzzing/fuzzing_full.txt