Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimhaxor authored May 26, 2023
1 parent c7c0f9e commit c0f3528
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dirbuzz.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
# "Directory bruteforce using ffuf"
output=$(echo $1 | awk -F// '{print $NF}' | sed -E 's/[\.|:]+/_/g')
wordlist='~/wordlists/wordlist.txt'
if [ ! -f $wordlist ]; then
wget https://raw.githubusercontent.com/Bo0oM/fuzz.txt/master/fuzz.txt -O ~/wordlists/wordlist.txt 2> /dev/null &> /dev/null
fi

ffuf -u $1/FUZZ -ac -t 100 -mc 200 -r -sf -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36" -w ~/wordlists/wordlist.txt -p '0.6-1.2' -maxtime 900 -o $output.json -s 2> /dev/null &> /dev/null
cat $output.json | jq -r '.results[] | .status, .length, .url' 2> /dev/null | xargs -n3 | anew -q $output.txt
rm -rf $output.json

0 comments on commit c0f3528

Please sign in to comment.