public interface ArachniClient
ArachniRestClient
ArachniClient arachniClient = ArachniRestClientBuilder
.create("http://127.0.0.1:8080")
.build();
ArachniRestClientBuilder| 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. |
List<String> getScans()
ArachniClientException.ArachniClientExceptionScan performScan(ScanRequest scanRequest)
Scan object. To start a new you have to
create a ScanRequest first.
Use the returned Scan object for further activities.scanRequest - Request with all information needed for the scan.Scan object.ArachniClientExceptionScan performScan(ScanRequest scanRequest, String mergeString)
performScan(ScanRequest scanRequest) method but you can specify a Json string that will be
merged into the request.scanRequest - mergeString - void close()
ArachniClient and all created Scan objects can not be used anymore.ArachniClientExceptionCopyright © 2018. All rights reserved.