这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@choket
Copy link
Contributor

@choket choket commented Jan 10, 2021

Description

Added 405 Method Not Allowed to the list of status codes matched by default. A lot of APIs return 405 when accessing an endpoint using an invalid request method (GET instead of POST). Currently ffuf doesn't recognize that they are valid endpoints unless specifically told to match code 405.

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
@joohoi
Copy link
Member

joohoi commented Jan 24, 2021

LGTM!

@joohoi joohoi self-requested a review January 24, 2021 16:54
@joohoi joohoi merged commit 6a7bdc0 into ffuf:master Jan 24, 2021
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

Successfully merging this pull request may close these issues.

2 participants