public interface IScannerCheck
IBurpExtenderCallbacks.registerScannerCheck()
to register a
custom Scanner check. When performing scanning, Burp will ask the check to
perform active or passive scanning on the base request, and report any
Scanner issues that are identified.Modifier and Type | Method and Description |
---|---|
int |
consolidateDuplicateIssues(IScanIssue existingIssue,
IScanIssue newIssue)
The Scanner invokes this method when the custom Scanner check has
reported multiple issues for the same URL path.
|
java.util.List<IScanIssue> |
doActiveScan(IHttpRequestResponse baseRequestResponse,
IScannerInsertionPoint insertionPoint)
The Scanner invokes this method for each insertion point that is actively
scanned.
|
java.util.List<IScanIssue> |
doPassiveScan(IHttpRequestResponse baseRequestResponse)
The Scanner invokes this method for each base request / response that is
passively scanned.
|
java.util.List<IScanIssue> doPassiveScan(IHttpRequestResponse baseRequestResponse)
baseRequestResponse
- The base HTTP request / response that should
be passively scanned.IScanIssue
objects, or null
if no issues are identified.java.util.List<IScanIssue> doActiveScan(IHttpRequestResponse baseRequestResponse, IScannerInsertionPoint insertionPoint)
IScannerInsertionPoint
object provided to build scan
requests for particular payloads.
Note:
Scan checks should submit raw non-encoded payloads to insertion points,
and the insertion point has responsibility for performing any data
encoding that is necessary given the nature and location of the insertion
point.baseRequestResponse
- The base HTTP request / response that should
be actively scanned.insertionPoint
- An IScannerInsertionPoint
object that
can be queried to obtain details of the insertion point being tested, and
can be used to build scan requests for particular payloads.IScanIssue
objects, or null
if no issues are identified.int consolidateDuplicateIssues(IScanIssue existingIssue, IScanIssue newIssue)
existingIssue
- An issue that was previously reported by this
Scanner check.newIssue
- An issue at the same URL path that has been newly
reported by this Scanner check.-1
to report the
existing issue only, 0
to report both issues, and
1
to report the new issue only.