Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gobuster update breaks automatic findings text file commands #104

Open
Em7ee opened this issue Jul 19, 2019 · 6 comments
Open

gobuster update breaks automatic findings text file commands #104

Em7ee opened this issue Jul 19, 2019 · 6 comments

Comments

@Em7ee
Copy link
Contributor

Em7ee commented Jul 19, 2019

Gobuster v3.0.1 now has mode options called "dns", "dir", "vhost". This will need to be reflected in the exported findings file that is generated for the automatic gobuster commands.

"gobuster -w /usr/share/seclists/Discovery/Web-Content/common.txt -u http://$ip:$port/ -s '200,204,301,302,307,403,500' -e | tee '$outputdir/$ip_$port_gobuster_common.txt'",
"gobuster -w /usr/share/seclists/Discovery/Web-Content/CGIs.txt -u http://$ip:$port/ -s '200,204,301,307,403,500' -e | tee '$outputdir/$ip_$port_gobuster_cgis.txt'"

These need "dir" added to each.

gobuster dir -w /usr/share/seclists/Discovery/Web-Content/common.txt -u https://$ip:$port/ -s '200,204,301,302,307,403,500' -e | tee '$outputdir/$ip_$port_gobuster_common.txt'
gobuster dir -w /usr/share/seclists/Discovery/Web-Content/CGIs.txt -u https://$ip:$port/ -s '200,204,301,307,403,500' -e | tee '$outputdir/$ip_$port_gobuster_cgis.txt'

Will throw a pull request.

@codingo
Copy link
Owner

codingo commented Jul 19, 2019

@jan0sik I believe this was resolved in #103, but very open to another pull request if not

@codingo
Copy link
Owner

codingo commented Jul 19, 2019

Actually, I saw you submitted that. Thank-you, and closing this issue.

@codingo
Copy link
Owner

codingo commented Jul 19, 2019

Closed with #103

@codingo codingo closed this as completed Jul 19, 2019
@Em7ee
Copy link
Contributor Author

Em7ee commented Jul 30, 2019

Missed the other gobuster commands in the http output. I only fixed it in the https output, when merged. When you have the time, can you fix it when you get the chance?

"gobuster -w /usr/share/seclists/Discovery/Web-Content/common.txt -u http://$ip:$port/ -s '200,204,301,302,307,403,500' -e | tee '$outputdir/$ip_$port_gobuster_common.txt'",
"gobuster -w /usr/share/seclists/Discovery/Web-Content/CGIs.txt -u http://$ip:$port/ -s '200,204,301,307,403,500' -e | tee '$outputdir/$ip_$port_gobuster_cgis.txt'"

@codingo codingo reopened this Jul 30, 2019
@codingo
Copy link
Owner

codingo commented Jul 30, 2019

Will do!

@keithwoelke
Copy link

I don't think this was ever fixed? Also, even when adding the dir mode now, it fails because the blacklist needs to be overridden to nothing.

Error: error on parsing arguments: status-codes ("200,204,301,302,307,403,500") and status-codes-blacklist ("404") are both set - please set only one. status-codes-blacklist is set by default so you might want to disable it by supplying an empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants