Skip to content

Commit

Permalink
Update container doc to address #642 (#643)
Browse files Browse the repository at this point in the history
* Updated README to address #642

* Fixe cmarkdown syntax
  • Loading branch information
MrSeccubus committed Feb 16, 2018
1 parent 42566ba commit 3ab214f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Expand Up @@ -62,7 +62,20 @@ Please be aware that you can only run one container at a time if you mount a loc

Running a scan
---
Run the following command to start the scan 'ssllabs' in workspace 'Example' (this workspace is created by default if you use the local mysql database)

There are two ways to run a scan

### Starting a scan on an already running container

To start the scan 'ssllabs' in the workspace 'Example' on an already running container, you could run a command like this:

```
docker exec -ti <containerID or tag> su - seccubus -c "do-scan --workspace Example --scan ssllabs"
```

### Dedicated scan container

The following command will create a new container just for a signle scan and terminate this container after the scan is finised. It starts the scan 'ssllabs' in workspace 'Example' (this workspace is created by default if you use the local mysql database)

```
docker run -ti seccubus/seccubus scan Example ssllabs
Expand Down Expand Up @@ -166,3 +179,4 @@ Enhancements
Bug Fixes
---------
* #635 - Hypnotoad path was set incorrectly in systemd startup script on CentOS 7
* #642 - Updated readme to address how to run a scan on a running container

0 comments on commit 3ab214f

Please sign in to comment.