... | @@ -27,6 +27,21 @@ services: |
... | @@ -27,6 +27,21 @@ services: |
|
|
|
|
|
`docker-compose -f docker-compose.yml -f docker-compose.custom.yml up --build -d`
|
|
`docker-compose -f docker-compose.yml -f docker-compose.custom.yml up --build -d`
|
|
|
|
|
|
|
|
## Delete everything and start from scratch
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./backup.sh
|
|
|
|
docker-compose down --remove-orphans --volumes
|
|
|
|
git reset --hard HEAD
|
|
|
|
rm -rf debug_tmp/*
|
|
|
|
rm -rf user_data/importer-db/main.db
|
|
|
|
rm -rf user_data/importer-logs/*
|
|
|
|
rm -rf user_data/worker-logs/*
|
|
|
|
rm -rf user_data/pwndoc-logs/*
|
|
|
|
|
|
|
|
docker-compose up --build -d
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Valid HTTPS Server Certificate
|
|
## Valid HTTPS Server Certificate
|
|
|
|
|
... | @@ -61,7 +76,7 @@ If your private key is not encrypted (and you don't want it to be), you can comm |
... | @@ -61,7 +76,7 @@ If your private key is not encrypted (and you don't want it to be), you can comm |
|
## Add a section to audit
|
|
## Add a section to audit
|
|
|
|
|
|
1. Add a new custom section in: PwnDoc -> Data -> Custom Data -> Custom Sections. Sections can be in any order.
|
|
1. Add a new custom section in: PwnDoc -> Data -> Custom Data -> Custom Sections. Sections can be in any order.
|
|
2. Add to section to a audit type in: PwnDoc -> Data -> Custom Data -> Audit Types -> List of Audit Type (button edit) -> _Audit type name_ (e.g. _Example audit type_) -> Sections. Then save.
|
|
2. Add a section to an audit type in: PwnDoc -> Data -> Custom Data -> Audit Types -> List of Audit Type (button edit) -> _Audit type name_ (e.g. _Example audit type_) -> Sections. Then save.
|
|
3. Add a field to custom section: PwnDoc -> Data -> Custom Data -> Custom Fields -> Select view -> Audit Section -> Select Section. Then add any components, for example Editor. Add some label and click button add.
|
|
3. Add a field to custom section: PwnDoc -> Data -> Custom Data -> Custom Fields -> Select view -> Audit Section -> Select Section. Then add any components, for example Editor. Add some label and click button add.
|
|
4. Add output to docx template. Templating is described elsewhere in the wiki.
|
|
4. Add output to docx template. Templating is described elsewhere in the wiki.
|
|
|
|
|
... | @@ -79,3 +94,12 @@ Vulnerability types are not used anywhere in Import Automator - it's just and vi |
... | @@ -79,3 +94,12 @@ Vulnerability types are not used anywhere in Import Automator - it's just and vi |
|
PwnDoc documentation has examples of tags and filters, that can be used. Probably the most useful ones are [conditions to filter findings](https://pwndoc.github.io/pwndoc/#/docxtemplate?id=condition]) and [sorting](https://pwndoc.github.io/pwndoc/#/docxtemplate?id=sortarraybyfield).
|
|
PwnDoc documentation has examples of tags and filters, that can be used. Probably the most useful ones are [conditions to filter findings](https://pwndoc.github.io/pwndoc/#/docxtemplate?id=condition]) and [sorting](https://pwndoc.github.io/pwndoc/#/docxtemplate?id=sortarraybyfield).
|
|
|
|
|
|
There is also a [Pull Request](https://github.com/pwndoc/pwndoc/pull/281) that adds many further filters.
|
|
There is also a [Pull Request](https://github.com/pwndoc/pwndoc/pull/281) that adds many further filters.
|
|
|
|
|
|
|
|
|
|
|
|
## DEV mode
|
|
|
|
|
|
|
|
Dev mode exposes ports of (most) containers. NEVER use it in production - it would leak sensitive information.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
docker-compose -f docker-compose.yml -f docker-compose.dev-override.yml up --build -d
|
|
|
|
``` |