ffuf
FFUF Agent Setup for Directory Discovery
Using
{{domain}}
ReconNess replace {{domain}}
for the subdomain.If we have the wordlist in
~/Desktop/tools/wordlist/directories.txt
ffuf -w ~/Desktop/tools/wordlist/directories.txt -u https://{{domain}}/FUZZ -mc 200,204
This Agent run in each subdomain.

using ReconNess.Core.Models;
lineInput = lineInput.Replace("[2K","");
var match = System.Text.RegularExpressions.Regex.Match(lineInput, @"(.*?)\[Status: (.*?), Size: (.*?),");
if (match.Success && match.Groups.Count == 4)
{
return new ScriptOutput
{
HttpDirectory = match.Groups[1].Value,
HttpDirectoryMethod = "GET",
HttpDirectoryStatusCode = match.Groups[2].Value,
HttpDirectorySize = match.Groups[3].Value,
};
}
return new ScriptOutput();
# -------- Agents dependencies --------
# To allow run ffuf inside the docker
RUN apt-get update && apt-get install -y git wget
RUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
RUN export GOPATH=$HOME/go
RUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
RUN /usr/local/go/bin/go get github.com/ffuf/ffuf
# -------- End Agents dependencies --------
/root/go/bin/ffuf -w /app/Content/wordlists/dir_enum/default.txt -u https://{{domain}}/FUZZ -mc 200,204
Last modified 2yr ago