ffuf
FFUF Agent Setup for Directory Discovery

ffuf Command

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

ffu Script

1
using ReconNess.Core.Models;
2
3
lineInput = lineInput.Replace("","");
4
var match = System.Text.RegularExpressions.Regex.Match(lineInput, @"(.*?)\[Status: (.*?), Size: (.*?),");
5
if (match.Success && match.Groups.Count == 4)
6
{
7
return new ScriptOutput
8
{
9
HttpDirectory = match.Groups[1].Value,
10
HttpDirectoryMethod = "GET",
11
HttpDirectoryStatusCode = match.Groups[2].Value,
12
HttpDirectorySize = match.Groups[3].Value,
13
};
14
}
15
16
return new ScriptOutput();
Copied!
Check the Readme on GitHub to know more about the Script.

ffuf Dockerfile Entry

1
# -------- Agents dependencies --------
2
3
# To allow run ffuf inside the docker
4
5
RUN apt-get update && apt-get install -y git wget
6
RUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gz
7
RUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
8
RUN export GOPATH=$HOME/go
9
RUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
10
RUN /usr/local/go/bin/go get github.com/ffuf/ffuf
11
12
# -------- End Agents dependencies --------
Copied!

ffuf Command for Docker

1
/root/go/bin/ffuf -w /app/Content/wordlists/dir_enum/default.txt -u https://{{domain}}/FUZZ -mc 200,204
Copied!
Last modified 3mo ago