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
Gitleaks removed
six2dez8a5f91c2b8fe
diff --git a/install.sh b/install.shindex cba0d9d..98d406e 100755--- a/install.sh+++ b/install.sh@@ -353,7 +353,6 @@ declare -A repos=(["gitdorks_go"]="damit5/gitdorks_go"["Web-Cache-Vulnerability-Scanner"]="Hackmanit/Web-Cache-Vulnerability-Scanner"["regulator"]="cramppet/regulator"- ["gitleaks"]="gitleaks/gitleaks"["ghleaks"]="dinosn/ghleaks"["trufflehog"]="trufflesecurity/trufflehog"["nomore403"]="devploit/nomore403"@@ -580,13 +579,6 @@ function install_tools() {$SUDO cp bin/massdns /usr/local/bin/ &>/dev/nullfi;;- "gitleaks")- if ! make build &>/dev/null; then- msg_warn "[$repos_step/$total_repo] $repo: make build failed"- else- $SUDO cp ./gitleaks /usr/local/bin/ &>/dev/null- fi- ;;"ghleaks")if ! go build -o ghleaks . &>/dev/null; thenmsg_warn "[$repos_step/$total_repo] $repo: go build failed"diff --git a/modules/core.sh b/modules/core.shindex 895d714..fc1feec 100644--- a/modules/core.sh+++ b/modules/core.sh@@ -472,7 +472,7 @@ function tools_installed() {["ghauri"]="ghauri"["hakip2host"]="hakip2host"["crt"]="crt"- ["gitleaks"]="gitleaks"+ ["titus"]="titus"["trufflehog"]="trufflehog"["s3scanner"]="s3scanner"["mantra"]="mantra"diff --git a/modules/osint.sh b/modules/osint.shindex a90cb83..2af52a8 100644--- a/modules/osint.sh+++ b/modules/osint.sh@@ -120,7 +120,7 @@ function github_repos() {return 0fi- local secrets_engine="${SECRETS_ENGINE:-gitleaks}"+ local secrets_engine="${SECRETS_ENGINE:-titus}"local titus_bin=""if command -v titus >/dev/null 2>&1; thentitus_bin="$(command -v titus)"@@ -131,50 +131,45 @@ function github_repos() {ficase "$secrets_engine" in- gitleaks|hybrid)- if ! interlace -tL .tmp/github_repos_folders.txt -threads "$INTERLACE_THREADS" -c "gitleaks detect --source .tmp/github_repos/_target_ --no-banner --no-color -r .tmp/github/gh_secret_cleantarget_.json" 2>>"$LOGFILE" >/dev/null; then- _print_error "interlace gitleaks command failed"- end_func "Results are saved in $domain/osint/github_company_secrets.json" "${FUNCNAME[0]}" FAIL- return 1- fi- ;;titus)if [[ -z "$titus_bin" ]]; then- _print_msg WARN "titus requested but not found; falling back to gitleaks"- if ! interlace -tL .tmp/github_repos_folders.txt -threads "$INTERLACE_THREADS" -c "gitleaks detect --source .tmp/github_repos/_target_ --no-banner --no-color -r .tmp/github/gh_secret_cleantarget_.json" 2>>"$LOGFILE" >/dev/null; then- _print_error "interlace gitleaks fallback failed"- return 1- fi- else- local titus_opts=""- [[ "${SECRETS_SCAN_GIT_HISTORY:-false}" == "true" ]] && titus_opts="${titus_opts} --git"- [[ "${SECRETS_VALIDATE:-false}" == "true" ]] && titus_opts="${titus_opts} --validate"- if ! interlace -tL .tmp/github_repos_folders.txt -threads "$INTERLACE_THREADS" -c "\"${titus_bin}\" scan --format json ${titus_opts} .tmp/github_repos/_target_ > .tmp/github/titus__cleantarget_.json" 2>>"$LOGFILE" >/dev/null; then- _print_error "interlace titus command failed"- return 1- fi+ _print_msg WARN "titus not found; skipping secrets scan"+ end_func "Results are saved in $domain/osint/github_company_secrets.json" "${FUNCNAME[0]}" WARN+ return 0+ fi+ local titus_opts=""+ [[ "${SECRETS_SCAN_GIT_HISTORY:-false}" == "true" ]] && titus_opts="${titus_opts} --git"+ [[ "${SECRETS_VALIDATE:-false}" == "true" ]] && titus_opts="${titus_opts} --validate"+ if ! interlace -tL .tmp/github_repos_folders.txt -threads "$INTERLACE_THREADS" -c "\"${titus_bin}\" scan --format json ${titus_opts} .tmp/github_repos/_target_ > .tmp/github/titus__cleantarget_.json" 2>>"$LOGFILE" >/dev/null; then+ _print_error "interlace titus command failed"+ return 1fi;;noseyparker)if ! command -v noseyparker >/dev/null 2>&1; then- _print_msg WARN "noseyparker requested but not found; falling back to gitleaks"- if ! interlace -tL .tmp/github_repos_folders.txt -threads "$INTERLACE_THREADS" -c "gitleaks detect --source .tmp/github_repos/_target_ --no-banner --no-color -r .tmp/github/gh_secret_cleantarget_.json" 2>>"$LOGFILE" >/dev/null; then- _print_error "interlace gitleaks fallback failed"- return 1- fi- else- local np_scan_opts=""- [[ "${SECRETS_SCAN_GIT_HISTORY:-false}" == "true" ]] && np_scan_opts="--git-history"- if ! interlace -tL .tmp/github_repos_folders.txt -threads "$INTERLACE_THREADS" -c "noseyparker scan ${np_scan_opts} --datastore .tmp/github/np_ds__cleantarget_ .tmp/github_repos/_target_ >/dev/null 2>>${LOGFILE}; noseyparker report --datastore .tmp/github/np_ds__cleantarget_ --format json > .tmp/github/nosey__cleantarget_.json" 2>>"$LOGFILE" >/dev/null; then- _print_error "interlace noseyparker command failed"- return 1- fi+ _print_msg WARN "noseyparker not found; skipping secrets scan"+ end_func "Results are saved in $domain/osint/github_company_secrets.json" "${FUNCNAME[0]}" WARN+ return 0+ fi+ local np_scan_opts=""+ [[ "${SECRETS_SCAN_GIT_HISTORY:-false}" == "true" ]] && np_scan_opts="--git-history"+ if ! interlace -tL .tmp/github_repos_folders.txt -threads "$INTERLACE_THREADS" -c "noseyparker scan ${np_scan_opts} --datastore .tmp/github/np_ds__cleantarget_ .tmp/github_repos/_target_ >/dev/null 2>>${LOGFILE}; noseyparker report --datastore .tmp/github/np_ds__cleantarget_ --format json > .tmp/github/nosey__cleantarget_.json" 2>>"$LOGFILE" >/dev/null; then+ _print_error "interlace noseyparker command failed"+ return 1fi;;*)- _print_msg WARN "Unknown SECRETS_ENGINE='${secrets_engine}', using gitleaks"- if ! interlace -tL .tmp/github_repos_folders.txt -threads "$INTERLACE_THREADS" -c "gitleaks detect --source .tmp/github_repos/_target_ --no-banner --no-color -r .tmp/github/gh_secret_cleantarget_.json" 2>>"$LOGFILE" >/dev/null; then- _print_error "interlace gitleaks fallback failed"+ _print_msg WARN "Unknown SECRETS_ENGINE='${secrets_engine}', using titus"+ if [[ -z "$titus_bin" ]]; then+ _print_msg WARN "titus not found; skipping secrets scan"+ end_func "Results are saved in $domain/osint/github_company_secrets.json" "${FUNCNAME[0]}" WARN+ return 0+ fi+ local titus_opts=""+ [[ "${SECRETS_SCAN_GIT_HISTORY:-false}" == "true" ]] && titus_opts="${titus_opts} --git"+ [[ "${SECRETS_VALIDATE:-false}" == "true" ]] && titus_opts="${titus_opts} --validate"+ if ! interlace -tL .tmp/github_repos_folders.txt -threads "$INTERLACE_THREADS" -c "\"${titus_bin}\" scan --format json ${titus_opts} .tmp/github_repos/_target_ > .tmp/github/titus__cleantarget_.json" 2>>"$LOGFILE" >/dev/null; then+ _print_error "interlace titus command failed"return 1fi;;diff --git a/reconftw.cfg b/reconftw.cfgindex 691f5e7..8df5764 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -130,7 +130,7 @@ MAIL_HYGIENE=true # Check DMARC/SPF recordsCLOUD_ENUM=true # Enumerate cloud storage across providers with cloud_enumGITHUB_LEAKS=true # Search for leaked secrets across all of GitHub with ghleaksGHLEAKS_THREADS=5 # Concurrent download threads for ghleaks-SECRETS_ENGINE="hybrid" # gitleaks|titus|noseyparker|hybrid+SECRETS_ENGINE="titus" # titus|noseyparkerSECRETS_SCAN_GIT_HISTORY=true # Include git history scans when supported by selected secrets engineSECRETS_VALIDATE=false # Validate secrets against provider APIs when supported (currently titus)GITHUB_ACTIONS_AUDIT=true # Audit GitHub Actions artifacts/workflows with gato