public class ScanRestImpl extends Scan
Scan interface. It is using an ArachniRestClient to
communicate with a Arachni REST server.| Modifier and Type | Method and Description |
|---|---|
void |
getReportHtml(OutputStream outstream)
Writes the scan HTML report in a given
OutputStream as a zip file. |
String |
getReportJson()
Retrieve the scan report as JSON string.
|
ScanResponse |
monitor()
Monitors the scan and returns a
ReportScan object. |
boolean |
shutdown()
This call needs to take place after each scan is done in order to prevent zombie processes.
|
public ScanResponse monitor()
ScanReportScan object. This method can thrown a
ArachniClientException.public boolean shutdown()
Scanpublic String getReportJson()
ScanArachniClientExceptiongetReportJson in class Scanpublic void getReportHtml(OutputStream outstream)
ScanOutputStream as a zip file.getReportHtml in class Scanoutstream - The OutputStream object to write the report.Copyright © 2017. All rights reserved.