public class ArachniRestClient extends Object implements ArachniClient
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_SCANS |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Depends on implementation the client close connections to Arachni Security Scanner.
|
List<String> |
getScans()
Returns a list with all scan id's.
|
Scan |
performScan(ScanRequest scanRequest)
Performs a new scan on the Arachni Rest Server and returns a
Scan object. |
public static final String PATH_SCANS
public Scan performScan(ScanRequest scanRequest) throws ArachniClientException
ArachniClientScan object. To start a new you have to
create a ScanRequest first.
Use the returned Scan object for further activities.performScan in interface ArachniClientscanRequest - Request with all information needed for the scan.Scan object.ArachniClientExceptionpublic List<String> getScans()
ArachniClientArachniClientException.getScans in interface ArachniClientpublic void close()
ArachniClientArachniClient and all created Scan objects can not be used anymore.close in interface ArachniClientCopyright © 2017. All rights reserved.