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
Fix diff cfg
six2dez2a682998d725
diff --git a/install.sh b/install.shindex c48f205..7b199f0 100755--- a/install.sh+++ b/install.sh@@ -612,6 +612,16 @@ function check_updates() {fielseprintf "%breconFTW is already up to date!%b\n" "$bgreen" "$reset"+ # If config is locally modified, still provide a diff against current default+ if ! git diff --quiet -- reconftw.cfg; then+ local cfg_diff_ts cfg_diff_file+ cfg_diff_ts=$(date +%Y%m%d_%H%M%S)+ mkdir -p .tmp+ cfg_diff_file=".tmp/reconftw_cfg_diff_${cfg_diff_ts}.patch"+ if git diff HEAD --unified -- reconftw.cfg >"$cfg_diff_file"; then+ printf "%bLocal reconftw.cfg differs from default; diff saved to %s.%b\n" "$yellow" "$cfg_diff_file" "$reset"+ fi+ fifielseprintf "\n%b[!] Unable to check for updates.%b\n" "$bred" "$reset"