Link it all together

Below takes a list of hostnames and runs each through gobuster to try and identify additional URLs or routes.

for i in $(cat ./hosts.txt); \ 
do echo "[+] Working on $i"; \ 
sed -e "s/\///" ./rails-routes-5k.txt | \ 
gobuster dir -q -n -e -u $i -o ./urls-$i.txt -a "$UA" -t 11 -w - ; \ 
done

Last updated