Dirsearch
Dirsearch Agent Setup for Directory Discovery
Using
{{domain}}
ReconNess replace {{domain}}
for the subdomainpython3 dirsearch.py -u {{domain}} -e php -r

using ReconNess.Core.Models;
if (lineInputCount < 10)
{
return new ScriptOutput();
}
var match = System.Text.RegularExpressions.Regex.Match(lineInput, @"](.*?) - (.*?) - (.*?) ->");
if (match.Success && match.Groups.Count == 4)
{
return new ScriptOutput
{
HttpDirectoryStatusCode = match.Groups[1].Value,
HttpDirectoryMethod = "GET",
HttpDirectorySize= match.Groups[2].Value,
HttpDirectory= match.Groups[3].Value.Replace("[0m", "")
};
}
return new ScriptOutput();
# -------- Agents dependencies --------
# To allow run dirsearch inside the docker
RUN apt-get update && apt-get install -y git python3 python3-pip
RUN git clone https://github.com/maurosoria/dirsearch.git
RUN cd dirsearch && pip3 install -r requirements.txt
# -------- End Agents dependencies --------
/app/dirsearch/dirsearch.py -u {{domain}} -e php -r
Last modified 2yr ago