Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileUpload addon fires 450 requests in insane mode #11

Open
preetkaran20 opened this issue Sep 16, 2021 · 0 comments
Open

FileUpload addon fires 450 requests in insane mode #11

preetkaran20 opened this issue Sep 16, 2021 · 0 comments
Labels
analysis enhancement New feature or request good first issue Good for newcomers

Comments

@preetkaran20
Copy link
Member

preetkaran20 commented Sep 16, 2021

Is your feature request related to a problem? Please describe.
As there are too many requests this Addon fires so we need a way to categorize so that users can choose a suitable category for their application and only test for that category.

Describe the solution you'd like
One simple solution is having Attack vectors mentioned in the Options Panel and the user can choose the Attack vectors like HtaccessFileUpload or SimpleJSPFIleUpload (Names can be shown a little better) and only those attack vectors only execute.

E.g:
image

Code references
Options panel UI: https://github.com/SasanLabs/owasp-zap-fileupload-addon/blob/main/src/main/java/org/sasanlabs/fileupload/ui/FileUploadOptionsPanel.java

Attack vector: https://github.com/SasanLabs/owasp-zap-fileupload-addon/blob/main/src/main/java/org/sasanlabs/fileupload/attacks/FileUploadAttackExecutor.java#L47

Testing code changes
build the addon by running

  1. ./gradlew spotlessApply
  2. ./gradlew build
    Then go to the ZAP -> File -> Local addon file -> Navigate to project -> build -> bin -> fileupload*.zap and done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analysis enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant