500 Internal Server Error -> default matched status codes (#510)
* match 500 status code responses by default * include 500 into default match codes * match 500: update help message * Update CHANGELOG.md
This commit is contained in:
parent
b440d6dd49
commit
3cc6557fc4
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 = ""
|
||||
|
||||
@ -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 = ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user