HackingScripts/gobuster.sh

14 lines
268 B
Bash
Raw Normal View History

2020-01-28 22:15:42 +01:00
#!/usr/bin/bash
if [ $# -lt 1 ]; then
echo "Invalid usage: $0 <host>"
exit
fi
HOST=$1
2023-11-12 20:26:19 +01:00
(set -x; gobuster dir \
--url="${HOST}" \
--wordlist="/usr/share/wordlists/SecLists/Discovery/Web-Content/raft-large-words-lowercase.txt" \
-b "403,404" -k \
"${@:2}")