Using {{domain}}
ReconNess replace {{domain}}
for the subdomain.
If we have the wordlist in ~/Desktop/tools/wordlist/directories.txt
gobuster dir -u https://{{domain}} -w ~/Desktop/tools/wordlist/directories.txt go run main.go dir -u https://{{domain}} -w ~/Desktop/tools/wordlist/directories.txt -z -k -l -r --wildcard
​Click here to know more about GoBuster​
using ReconNess.Core.Models;​if (lineInputCount < 15){return new ScriptOutput();}​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();
Check the Readme on GitHub to know more about the Script.
# -------- Agents dependencies --------​# To allow run gobuster inside the docker​RUN apt-get update && apt-get install -y git wgetRUN wget https://dl.google.com/go/go1.14.6.linux-amd64.tar.gzRUN tar -C /usr/local -xzf go1.14.6.linux-amd64.tar.gzRUN /usr/local/go/bin/go get github.com/OJ/gobusterRUN wget https://gist.githubusercontent.com/gorums/0a3a9d903e8e47fbff9d91097e19b4f8/raw/c81a34fe84731430741e0463eb6076129c20c4c0/content_discovery_all.txt​# -------- End Agents dependencies --------
/root/go/bin/gobuster dir -u https://{{domain}} -w /app/content_discovery_all.txt -z -k -l -r --wildcard
​