diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b75034..81a0e46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Added response time logging and filtering - Added a CLI flag to specify TLS SNI value - Added full line colors + - Added 500 Internal Server Error to list of status codes matched by default - Changed - Fixed an issue where output file was created regardless of `-or` - Fixed an issue where output (often a lot of it) would be printed after entering interactive mode diff --git a/README.md b/README.md index decd646..5e0e9a1 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ GENERAL OPTIONS: -v Verbose output, printing full URL and redirect location (if any) with the results. (default: false) MATCHER OPTIONS: - -mc Match HTTP status codes, or "all" for everything. (default: 200,204,301,302,307,401,403,405) + -mc Match HTTP status codes, or "all" for everything. (default: 200,204,301,302,307,401,403,405,500) -ml Match amount of lines in response -mr Match regexp -ms Match HTTP response size diff --git a/ffufrc.example b/ffufrc.example index eb3d05b..fe54256 100644 --- a/ffufrc.example +++ b/ffufrc.example @@ -76,6 +76,6 @@ lines = "" regexp = "" size = "" - status = "200,204,301,302,307,401,403,405" + status = "200,204,301,302,307,401,403,405,500" time = "" words = "" diff --git a/pkg/ffuf/optionsparser.go b/pkg/ffuf/optionsparser.go index 272c093..dc222b5 100644 --- a/pkg/ffuf/optionsparser.go +++ b/pkg/ffuf/optionsparser.go @@ -145,7 +145,7 @@ func NewConfigOptions() *ConfigOptions { c.Matcher.Lines = "" c.Matcher.Regexp = "" c.Matcher.Size = "" - c.Matcher.Status = "200,204,301,302,307,401,403,405" + c.Matcher.Status = "200,204,301,302,307,401,403,405,500" c.Matcher.Time = "" c.Matcher.Words = "" c.Output.DebugLog = ""