gobuster icon indicating copy to clipboard operation
gobuster copied to clipboard

[FEATURE] Logging content-type on positive results

Open mzpqnxow opened this issue 5 years ago • 1 comments
trafficstars

Currently doing automated (or manual) post-processing on gobuster directory-mode output usually involves an approach that analyzes the status codes and size values of the responses to each of the URLs- for example, one might flag a certain size as "uninteresting" if it occurs more than n times, where n is some arbitrary threshold. This is a very rudimentary approach but works pretty well to reduce uninteresting cases

Another thing that would be very useful in my view, especially for programmatic analysis, would be to (optionally) log the content-type returned by the server for each URL that is considered a "positive" finding. This could be implemented much in the same way as how length was implemented- an optional flag that causes it to be printed to the output stream

What are your thoughts on adding this as a feature? Is there any specific reason it isn't already implemented, aside from that it was maybe considered out of scope for the role of gobuster?

Curious to hear your thoughts.

Thanks

mzpqnxow avatar Oct 31 '20 21:10 mzpqnxow

Yup, I do like this idea :) Content type is useful for sure.

OJ avatar Nov 17 '20 00:11 OJ