Skip to content

Instantly share code, notes, and snippets.

@seqrity
Created September 19, 2022 18:35
Show Gist options
  • Save seqrity/13df8090d077bd36466acc2c800c2115 to your computer and use it in GitHub Desktop.
Save seqrity/13df8090d077bd36466acc2c800c2115 to your computer and use it in GitHub Desktop.
A simple script for fuzzing URL list by ffuf
#!/bin/bash
mkdir -p out
for line in $(cat urls.txt)
do
DOMAIN=$(echo $line | tr : _ | tr -d //)
ffuf -u $line/FUZZ -w dir_wl.txt -D -e php,aspx,jsp,html,js,txt,bak,zip,json,conf,log,git -t 100 -mc 200 -r -o out/$DOMAIN
done
cat out/* | jq .results[].url | gf url | sort -u > result.txt
rm -rf out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment