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. |
Scan |
performScan(ScanRequest scanRequest,
String mergeString)
Same as
performScan(ScanRequest scanRequest) method but you can specify a Json string that will be
merged into the request. |
public static final String PATH_SCANS
public Scan performScan(ScanRequest scanRequest)
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.public Scan performScan(ScanRequest scanRequest, String mergeString)
ArachniClientperformScan(ScanRequest scanRequest) method but you can specify a Json string that will be
merged into the request.performScan in interface ArachniClientpublic 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 © 2018. All rights reserved.