mirror of
https://github.com/ffuf/ffuf
synced 2024-12-01 15:49:18 +00:00
Added 405 Method Not Allowed to the list of status codes matched by default (#373)
* Update .ffufrc to match 405 status code responses by default * Updated README.md with the new default match status codes * Updated default match codes to include 405 Method Not Allowed 405 Method not Allowed is returned by many api endpoints when accessed via an improper method. ffuf sends GET reqeusts by default and if an endpoint only supports POST it will return 405 and ffuf will not think it's a valid endpoint unless specifically told to match 405 status codes * Added choket to contributors * Update CHANGELOG.md
This commit is contained in:
parent
4bea474ae6
commit
6a7bdc0f93
5 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
## Changelog
|
||||
- master
|
||||
- New
|
||||
- Added 405 Method Not Allowed to list of status codes matched by default.
|
||||
- New CLI flag `-rate` to set maximum rate of requests per second. The adjustment is dynamic.
|
||||
- New CLI flag `-config` to define a configuration file with preconfigured settings for the job.
|
||||
- Ffuf now reads a default configuration file `$HOME/.ffufrc` upon startup. Options set in this file
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* [bjhulst](https://github.com/bjhulst)
|
||||
* [bsysop](https://twitter.com/bsysop)
|
||||
* [ccsplit](https://github.com/ccsplit)
|
||||
* [choket](https://github.com/choket)
|
||||
* [codingo](https://github.com/codingo)
|
||||
* [c_sto](https://github.com/c-sto)
|
||||
* [Damian89](https://github.com/Damian89)
|
||||
|
|
|
@ -166,7 +166,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)
|
||||
-mc Match HTTP status codes, or "all" for everything. (default: 200,204,301,302,307,401,403,405)
|
||||
-ml Match amount of lines in response
|
||||
-mr Match regexp
|
||||
-ms Match HTTP response size
|
||||
|
|
|
@ -73,5 +73,5 @@
|
|||
lines = ""
|
||||
regexp = ""
|
||||
size = ""
|
||||
status = "200,204,301,302,307,401,403"
|
||||
status = "200,204,301,302,307,401,403,405"
|
||||
words = ""
|
||||
|
|
|
@ -135,7 +135,7 @@ func NewConfigOptions() *ConfigOptions {
|
|||
c.Matcher.Lines = ""
|
||||
c.Matcher.Regexp = ""
|
||||
c.Matcher.Size = ""
|
||||
c.Matcher.Status = "200,204,301,302,307,401,403"
|
||||
c.Matcher.Status = "200,204,301,302,307,401,403,405"
|
||||
c.Matcher.Words = ""
|
||||
c.Output.DebugLog = ""
|
||||
c.Output.OutputDirectory = ""
|
||||
|
|
Loading…
Reference in a new issue