(
self,
custom_payloads: Optional[list[str]] = None,
seclists_path: Optional[str] = None,
)
| 45 | |
| 46 | def __init__( |
| 47 | self, |
| 48 | custom_payloads: list[str] | None = None, |
| 49 | seclists_path: str | None = None, |
| 50 | ): |
| 51 | super().__init__() |
| 52 | self.payloads = custom_payloads or load_wordlist( |
| 53 | self.SECLISTS_RELATIVE_PATHS, |
| 54 | fallback=self.PAYLOADS, |
| 55 | seclists_path=seclists_path, |
| 56 | ) |
| 57 | |
| 58 | async def run(self, target: Target) -> ScanResult: |
| 59 | """Scan target for XSS vulnerabilities.""" |
| 60 | result = self.create_result(target) |
nothing calls this directly
no test coverage detected