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
5 changes: 2 additions & 3 deletions scanners/wpscan/.helm-docs.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ usecase: "Wordpress Vulnerability Scanner"

WPScan is a free, for non-commercial use, black box WordPress vulnerability scanner written for security professionals and blog maintainers to test the security of their sites.

> NOTE: You need to provide WPSan with an API Token so that it can look up vulnerabilities infos with [https://wpvulndb.com](https://wpvulndb.com). Without the token WPScan will only identify WordPress Core / Plugin / Theme versions but not if they are actually vulnerable. You can get a free API Token at by registering for an account at [https://wpvulndb.com](https://wpvulndb.com). Using the secureCodeBox WPScans you can specify the token via the `WPVULNDB_API_TOKEN` target attribute, see the example below.
> NOTE: You need to provide WPSan with an API Token so that it can look up vulnerabilities infos with [https://wpscan.com](https://wpscan.com). Without the token WPScan will only identify WordPress Core / Plugin / Theme versions but not if they are actually vulnerable. You can get a free API Token at by registering for an account at [https://wpscan.com](https://wpscan.com). Using the secureCodeBox WPScans you can specify the token via the `WPVULNDB_API_TOKEN` target attribute, see the example below.

To learn more about the WPScan scanner itself visit [wpscan.org] or [wpscan.io].
To learn more about the WPScan scanner itself visit [wpscan.org].
{{- end }}

{{- define "extra.scannerConfigurationSection" -}}
Expand Down Expand Up @@ -82,7 +82,6 @@ Incompatible choices (only one of each group/s can be used):
{{- end }}

{{- define "extra.scannerLinksSection" -}}
[wpscan.io]: https://wpscan.io/
[wpscan.org]: https://wpscan.org/
[WPScan Documentation]: https://github.com/wpscanteam/wpscan/wiki/WPScan-User-Documentation
{{- end }}
187 changes: 0 additions & 187 deletions scanners/wpscan/examples/example.com/findings.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion scanners/wpscan/examples/example.com/scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ spec:
- "--plugins-detection"
- "mixed"
- "--api-token"
- "AAAAABBBBBCCCCCDDDDEEEEEEE"
- "TODO"
21 changes: 18 additions & 3 deletions scanners/wpscan/examples/old-wordpress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,22 @@ SPDX-License-Identifier: Apache-2.0
-->

:::note
This example scan uses a demo wordpress 4.0 instance.
You can deploy it as a demo target into you cluster. The scan assumes that it is installed in the `demo-targets` namespace.
See the [installation guide](/docs/getting-started/installation#install-some-demo-targets).
For this example to work, you must add a valid API Token to the scan.yaml!
:::

In this example we execute an wpscan scan against an old wordpress 4.0 instance [old-wordpress](https://github.com/secureCodeBox/secureCodeBox/tree/main/demo-targets/old-wordpress)

#### Initialize old-wordpress in cluster

Before executing the scan, make sure to setup old-wordpress

```bash
helm upgrade --install old-wordpress secureCodeBox/old-wordpress --wait
```

Then, add an API Key in scan.yaml by replacing the `TODO` after the --api-token flag.

After that you can execute the scan in this directory:
```bash
kubectl apply -f scan.yaml
```
1 change: 1 addition & 0 deletions scanners/wpscan/examples/old-wordpress/findings.json

Large diffs are not rendered by default.

112 changes: 0 additions & 112 deletions scanners/wpscan/examples/old-wordpress/findings.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion scanners/wpscan/examples/old-wordpress/scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ spec:
scanType: "wpscan"
parameters:
- "--url"
- old-wordpress.demo-targets.svc.cluster.local
- old-wordpress
- "-e"
- "vp"
- "--plugins-detection"
- "mixed"
- "--api-token"
- "TODO"
Loading