Skip to content

Ability to ignore requests if the response size exceeds a threshold #1907

@gnuletik

Description

@gnuletik

Is your feature request related to a problem? Please describe.

When scanning a server, I realized that this server could sometimes return huge responses.
For example, 500MB when requesting /wp-content/debug.log.
As wpscan caches the result of its request into /tmp, this led to our /tmp directory to be full.

Describe the solution you'd like

A new CLI parameter could be added on wpscan to filter the requests that exceeds some response size.
For example --max-response-size 10Mi

Describe alternatives you've considered

Increase the /tmp size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions