public abstract class Scan extends Object
Scan instance you can get all informations and reports from Arachni Security Scanner.| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the id of the scan.
|
abstract void |
getReportHtml(OutputStream outstream)
Writes the scan HTML report in a given
OutputStream as a zip file. |
abstract String |
getReportJson()
Retrieve the scan report as JSON string.
|
abstract ScanResponse |
monitor()
Monitors the scan and returns a
ReportScan object. |
abstract boolean |
shutdown()
This call needs to take place after each scan is done in order to prevent zombie processes.
|
public String getId()
public abstract ScanResponse monitor()
ReportScan object. This method can thrown a
ArachniClientException.ReportScan with all monitoring information.ArachniClientExceptionpublic abstract boolean shutdown()
true if shutdown was successful.ArachniClientExceptionpublic abstract String getReportJson()
ArachniClientExceptionArachniClientExceptionpublic abstract void getReportHtml(OutputStream outstream)
OutputStream as a zip file.outstream - The OutputStream object to write the report.ArachniClientExceptionCopyright © 2017. All rights reserved.