Skip to content

Commit

Permalink
urlfinder instead of waymore
Browse files Browse the repository at this point in the history
  • Loading branch information
six2dez committed Nov 18, 2024
1 parent 94bf16c commit cd0eac5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ declare -A gotools=(
["ppmap"]="go install -v github.com/kleiton0x00/ppmap@latest"
["sourcemapper"]="go install -v github.com/denandz/sourcemapper@latest"
["jsluice"]="go install -v github.com/BishopFox/jsluice/cmd/jsluice@latest"
["urlfinder"]="go install -v github.com/projectdiscovery/urlfinder/cmd/urlfinder@latest"
)

# Declare repositories and their paths
Expand Down Expand Up @@ -133,7 +134,6 @@ declare -A repos=(
["ffufPostprocessing"]="Damian89/ffufPostprocessing"
["misconfig-mapper"]="intigriti/misconfig-mapper"
["Spoofy"]="MattKeeley/Spoofy"
["Waymore"]="xnl-h4ck3r/waymore"
["xnLinkFinder"]="xnl-h4ck3r/xnLinkFinder"
["porch-pirate"]="MandConsultingGroup/porch-pirate"
["MetaFinder"]="Josue87/MetaFinder"
Expand Down Expand Up @@ -636,7 +636,7 @@ function initial_setup() {
"$SUDO" cp "${GOPATH}/bin/"* /usr/local/bin/ &>/dev/null || true

# Final reminders
echo -e "${yellow}Remember to set your API keys:\n- subfinder (${HOME}/.config/subfinder/provider-config.yaml)\n- GitHub (${HOME}/Tools/.github_tokens)\n- GitLab (${HOME}/Tools/.gitlab_tokens)\n- SSRF Server (COLLAB_SERVER in reconftw.cfg or env var)\n- Waymore (${HOME}/.config/waymore/config.yml)\n- Blind XSS Server (XSS_SERVER in reconftw.cfg or env var)\n- notify (${HOME}/.config/notify/provider-config.yaml)\n- WHOISXML API (WHOISXML_API in reconftw.cfg or env var)\n${reset}"
echo -e "${yellow}Remember to set your API keys:\n- subfinder (${HOME}/.config/subfinder/provider-config.yaml)\n- GitHub (${HOME}/Tools/.github_tokens)\n- GitLab (${HOME}/Tools/.gitlab_tokens)\n- SSRF Server (COLLAB_SERVER in reconftw.cfg or env var)\n- Blind XSS Server (XSS_SERVER in reconftw.cfg or env var)\n- notify (${HOME}/.config/notify/provider-config.yaml)\n- WHOISXML API (WHOISXML_API in reconftw.cfg or env var)\n${reset}"
echo -e "${bgreen}Finished!${reset}\n"
echo -e "${bgreen}#######################################################################${reset}"
}
Expand Down
11 changes: 2 additions & 9 deletions reconftw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function tools_installed() {
declare -A tools_commands=(
["brutespray"]="brutespray"
["xnLinkFinder"]="xnLinkFinder"
["waymore"]="waymore"
["urlfinder"]="urlfinder"
["github-endpoints"]="github-endpoints"
["github-subdomains"]="github-subdomains"
["gitlab-subdomains"]="gitlab-subdomains"
Expand Down Expand Up @@ -3575,14 +3575,7 @@ function urlchecks() {
if [[ -s "webs/webs_all.txt" ]]; then
if [[ $AXIOM != true ]]; then
if [[ $URL_CHECK_PASSIVE == true ]]; then
if [[ $DEEP == true ]]; then
unfurl -u domains <webs/webs_all.txt >.tmp/waymore_input.txt
waymore -i .tmp/waymore_input.txt -mode U -f -oU .tmp/url_extract_tmp.txt 2>>"$LOGFILE" >/dev/null
else
unfurl -u domains <webs/webs_all.txt >.tmp/waymore_input.txt
waymore -i .tmp/waymore_input.txt -mode U -f -oU .tmp/url_extract_tmp.txt 2>>"$LOGFILE" >/dev/null
fi

urlfinder -d $domain -o .tmp/url_extract_tmp.txt 2>>"$LOGFILE" >/dev/null
if [[ -s $GITHUB_TOKENS ]]; then
github-endpoints -q -k -d "$domain" -t "$GITHUB_TOKENS" -o .tmp/github-endpoints.txt 2>>"$LOGFILE" >/dev/null
if [[ -s ".tmp/github-endpoints.txt" ]]; then
Expand Down

0 comments on commit cd0eac5

Please sign in to comment.