Created
May 4, 2016 05:26
-
-
Save stephendonner/2db28d329ab2baeec27f1049455d7bfc to your computer and use it in GitHub Desktop.
This is just a working pastebin for what will become, hopefully, a bonafide docker-compose.yml file for ZAP-CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this will all go in a docker-compose.yml file | |
# XXX WRITE COPIOUS COMMENTS | |
docker run -u zap -p 8080:8080 -d owasp/zap2docker-stable zap.sh -daemon -port 8080 -host 0.0.0.0 -config api.disablekey=true | |
# XXX TODO: dynamically find the container id (using @m8ttyb's | |
docker exec ac68d9afcfad28123720080418cb3370dca03ee52252315e4d21227777eefd04 zap-cli open-url 'https://www.allizom.org' | |
# XXX TODO: beef up/flesh out the active-scan options we're passing in | |
docker exec trusting_bhabha zap-cli active-scan 'https://www.allizom.org' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment