Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
**.iml
.DS_Store
.DS_Store
.idea
60 changes: 44 additions & 16 deletions docs/user-guide/usage-examples/arachni-bodgeit-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ In this example we'll be using Arachni controlled by the secureCodeBox to scan f

## Testing the setup

This is a straight forward configuration.
This configuration could be improved by configuring a login method for the scanner.
This is a straight forward configuration by simply configuring the target.

### Start the scan via HTTP API

Expand All @@ -22,26 +21,55 @@ This configuration could be improved by configuring a login method for the scann

`run_scanner.sh --payload payloadFile.json arachni`

### Payload
### Test Payload

```json
[
{
"name": "Arachni BodgeIt Scan",
"location": "http://bodgeit:8080/bodgeit/",
"attributes": {
"ARACHNI_DOM_DEPTH_LIMIT": 15,
"ARACHNI_DIR_DEPTH_LIMIT": 5,
"ARACHNI_PAGE_LIMIT": 50,
"ARACHNI_EXCLUDE_PATTERNS": [
".*\\.png",
".*util\\.js",
".*style\\.css"
],
"ARACHNI_SCAN_METHODS": "*"
}
"location": "http://bodgeit:8080/bodgeit/",
"name": "Arachni BodgeIt Scan"
}
]
```
This scan should finish in about a minute and should return a couple of findings.

## Full Scan

The following example contains a fully configured Arachni Scan for the BodgeIt Store. This can be improved by
configuring login credentials and/or providing a login script.

### Start the scan via HTTP API

`PUT http://localhost:8080/box/processes/arachni_webapplicationscan`

### Start the scan via CLI

`run_scanner.sh --payload payloadFile.json arachni`

### Full Payload
```json
[
{
"location": "http://bodgeit:8080/bodgeit/",
"name": "Arachni BodgeIt Scan",
"attributes": {
"ARACHNI_DOM_DEPTH_LIMIT": 15,
"ARACHNI_DIR_DEPTH_LIMIT": 5,
"ARACHNI_PAGE_LIMIT": 50,
"ARACHNI_EXCLUDE_PATTERNS": [
".*\\.png",
".*util\\.js",
".*style\\.css"
],
"ARACHNI_SCAN_METHODS": "*",
"ARACHNI_REQUESTS_PER_SECOND": 20,
"ARACHNI_POOL_SIZE": 6,
"ARACHNI_REQUEST_CONCURRENCY": 20
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should provide to different examples, one with a minimal configuration and one with a full configuration containing rate-limits, etc. Similar to the ZAP example documentation.

}
]
```
This scan should finish in about a minute and should return a couple of findings.