-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ffuf agent and gobusterDir agent
- Loading branch information
Showing
9 changed files
with
84 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
## GoBusterDir Command | ||
|
||
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 | ||
``` | ||
## GoBusterDir Command for Docker | ||
|
||
``` | ||
cd /root/go/bin/ && ./gobuster dir -u https://{{domain}} -w /app/content_discovery_all.txtcd /root/go/bin/ && ./gobuster dir -u https://{{domain}} -w /app/content_discovery_all.txt -z -k -l -r --wildcard | ||
``` | ||
|
||
## GoBusterDir Script | ||
|
||
Check [Script file](https://github.com/reconness/reconness-agents/blob/master/GoBusterDir/Script) | ||
|
||
## GoBusterDir Dockerfile Entry | ||
|
||
``` | ||
# -------- Agents dependencies -------- | ||
# To allow run gobuster inside the docker | ||
RUN apt-get update && apt-get install -y git | ||
RUN apt-get install -y wget | ||
RUN wget https://dl.google.com/go/go1.13.linux-amd64.tar.gz | ||
RUN tar -C /usr/local -xzf go1.13.linux-amd64.tar.gz | ||
RUN echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile | ||
RUN . ~/.profile && go get github.com/OJ/gobuster | ||
RUN wget https://gist.githubusercontent.com/gorums/0a3a9d903e8e47fbff9d91097e19b4f8/raw/c81a34fe84731430741e0463eb6076129c20c4c0/content_discovery_all.txt | ||
# -------- End Agents dependencies -------- | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using ReconNess.Core.Models; | ||
|
||
if (lineInputCount < 13) | ||
{ | ||
return new ScriptOutput(); | ||
} | ||
|
||
var match = System.Text.RegularExpressions.Regex.Match(lineInput, @"^Found:\s(.*?)"); | ||
if (match.Success && match.Groups.Count == 2) | ||
{ | ||
return new ScriptOutput { Subdomain = match.Groups[1].Value }; | ||
} | ||
|
||
return new ScriptOutput(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters