Skip to content

Commit

Permalink
s3scanner go and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
six2dez committed Aug 19, 2023
1 parent efc2bcf commit 28ab202
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion reconftw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ PySocks # pwndb
requests # multiple
requests_futures # cloud_enums
retrying # multiple
s3scanner # Tool
setuptools # multiple
shodan # favUp
termcolor # xnLinkFinder
Expand Down

0 comments on commit 28ab202

Please sign in to comment.