subdomain fuzzing
This commit is contained in:
parent
712b851f36
commit
0758e23026
26
subdomainFuzz.sh
Executable file
26
subdomainFuzz.sh
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "Invalid usage: $0 <domain>"
|
||||
exit
|
||||
fi
|
||||
|
||||
DOMAIN=$1
|
||||
|
||||
echo "[ ] Resolving IP-Address…"
|
||||
output=$(resolveip $DOMAIN 2>&1)
|
||||
status=$(echo $?)
|
||||
if ! [[ $status == 0 ]] ; then
|
||||
echo "[-] ${output}"
|
||||
exit
|
||||
fi
|
||||
|
||||
IP_ADDRESS=$(echo $output | head -n 1 | awk '{print $NF}')
|
||||
echo "[+] IP-Address: ${IP_ADDRESS}"
|
||||
|
||||
echo "[ ] Retrieving default site…"
|
||||
charcount=$(curl -s -L $DOMAIN | wc -m)
|
||||
echo "[+] Chars: ${charcount}"
|
||||
echo "[ ] Fuzzing…"
|
||||
|
||||
wfuzz --hh ${charcount} --ip "${IP_ADDRESS}" --hc 400,500 -w /usr/share/wordlists/SecLists/Discovery/Web-Content/raft-large-words-lowercase.txt "http://FUZZ.${DOMAIN}"
|
0
xss_handler.py
Normal file → Executable file
0
xss_handler.py
Normal file → Executable file
Loading…
Reference in New Issue
Block a user