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

Wapiti Does not produce report for each path scanned #617

Open
Kundan8000 opened this issue Sep 30, 2024 · 1 comment
Open

Wapiti Does not produce report for each path scanned #617

Kundan8000 opened this issue Sep 30, 2024 · 1 comment

Comments

@Kundan8000
Copy link

I'm running this command

wapiti -u https://juice-shop.herokuapp.com/ -v2 -o reports.json -f json --scope folder

it's scanning all the available paths eg. https://domain/foo1, https://domain/foo2 but it's generating reports for only / path.

Example:

{
  "vulnerabilities": {
    "Content Security Policy Configuration": [
      {
        "method": "GET",
        "path": "/",
        "info": "CSP is not set",
        "level": 1,
        "parameter": "",
        "http_request": "GET / HTTP/1.1\nHost: juice-shop.herokuapp.com",
        "curl_command": "curl \"https://juice-shop.herokuapp.com/\""
      }
    ],
    "HTTP Secure Headers": [
      {
        "method": "GET",
        "path": "/",
        "info": "X-XSS-Protection is not set",
        "level": 1,
        "parameter": "",
        "http_request": "GET / HTTP/1.1\nHost: juice-shop.herokuapp.com",
        "curl_command": "curl \"https://juice-shop.herokuapp.com/\""
      }
    ]
  }
}

I want to get reports of vulnerabilities for each path available on given domain.

Example:

{
  "vulnerabilities": {
    "Content Security Policy Configuration": [
      {
        "method": "GET",
        "path": "/"
      },
      {
        "method": "GET",
        "path": "/home"
      }
    ],
    "HTTP Secure Headers": [
      {
        "method": "GET",
        "path": "/contact"
      },
      {
        "method": "GET",
        "path": "/contact/success"
      }
    ]
  }
}
@devl00p
Copy link
Contributor

devl00p commented Oct 6, 2024

Indeed it is the current behavior of several modules like that.

It will certainly be reconsidered when a passive module system would be integrated to Wapiti.

It brings one question however: after how many of those findings should we stop displaying them?

Most closed-source et cloud based solution will print a few then indicate "X more found", this is certainly the way to go as having thousands of entries of the same type can be annoying.

How much is enough ? 50 maybe ?

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

No branches or pull requests

2 participants