mirror of
https://github.com/ysoftdevs/wapifuzz.git
synced 2026-03-23 18:01:11 +01:00
Simplyfy docker run arguments
Filenames can be now passed standalone, without mnt/ prefix.
This commit is contained in:
@@ -65,7 +65,7 @@ Execute `run.sh config_file_path openapi_doc_file_path [custom_payloads_file_pat
|
||||
### Docker
|
||||
You just need to run the container with following arguments:
|
||||
|
||||
`docker run -p {host_port}:{container_port} -v $(pwd):/usr/local/fuzzer/mnt/ starek4/wfuzz:latest mnt/config.json mnt/sqta.yaml [mnt/custom_payloads.txt]`
|
||||
`docker run -p {host_port}:{container_port} -v $(pwd):/usr/local/fuzzer/mnt/ starek4/wfuzz:latest config.json sqta.yaml [custom_payloads.txt]`
|
||||
|
||||
where files `config.json`, `sqta.yaml` and `custom_payloads` needs to be stored in the working directory.
|
||||
With parameter `-p` you also need to bind port number, which is used for communication with your web API, to the container.
|
||||
|
||||
Reference in New Issue
Block a user