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

s3scanner go and fix

six2dez28ab202775f9
diff --git a/install.sh b/install.sh
index 402ea14..760e274 100755
--- a/install.sh
+++ b/install.sh
@@ -85,6 +85,7 @@ gotools["hakip2host"]="go install github.com/hakluke/hakip2host@latest"
gotools["gau"]="go install -v github.com/lc/gau/v2/cmd/gau@latest"
gotools["Mantra"]="go install github.com/MrEmpy/Mantra@latest"
gotools["crt"]="go install github.com/cemulus/crt@latest"
+gotools["s3scanner"]="go install -v github.com/sa7mon/s3scanner@latest"
declare -A repos
repos["dorks_hunter"]="six2dez/dorks_hunter"
diff --git a/reconftw.sh b/reconftw.sh
index 3bc2bc8..26f2aff 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -112,6 +112,7 @@ function tools_installed(){
which subgpt &>/dev/null || { printf "${bred} [*] subgpt [NO]${reset}\n${reset}"; allinstalled=false;}
which gitleaks &>/dev/null || { printf "${bred} [*] gitleaks [NO]${reset}\n${reset}"; allinstalled=false;}
which trufflehog &>/dev/null || { printf "${bred} [*] trufflehog [NO]${reset}\n${reset}"; allinstalled=false;}
+ which s3scanner &>/dev/null || { printf "${bred} [*] s3scanner [NO]${reset}\n${reset}"; allinstalled=false;}
if [ "${allinstalled}" = true ]; then
printf "${bgreen} Good! All installed! ${reset}\n\n"
@@ -181,7 +182,7 @@ function github_repos(){
[ -s ".tmp/github_repos_folders.txt" ] && 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
[ -s ".tmp/company_repos_url.txt" ] && interlace -tL .tmp/company_repos_url.txt -threads ${INTERLACE_THREADS} -c "trufflehog git _target_ -j 2>&1 | jq -c > _output_/_cleantarget_" -o .tmp/github/ >>"$LOGFILE" 2>&1
if [ -d ".tmp/github/" ]; then
- cat .tmp/github/* | jq -c | jq -r > osint/github_company_secrets.json 2>>"$LOGFILE"
+ cat .tmp/github/* 2>/dev/null | jq -c | jq -r > osint/github_company_secrets.json 2>>"$LOGFILE"
fi
else
printf "\n${bred} Required file ${GITHUB_TOKENS} not exists or empty${reset}\n"
diff --git a/requirements.txt b/requirements.txt
index 7067433..30305df 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -27,7 +27,6 @@ PySocks # pwndb
requests # multiple
requests_futures # cloud_enums
retrying # multiple
-s3scanner # Tool
setuptools # multiple
shodan # favUp
termcolor # xnLinkFinder