From: Edward Delaporte Date: Thu, 23 Jan 2020 22:26:48 +0000 (-0600) Subject: Changes for OWASP ZAP X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/ef88c8132a2fa18e39324e652fd0554499fb8111 Changes for OWASP ZAP --- diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index fa6496a..aa1d60f 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -26,3 +26,12 @@ function Start-DockerRStudio() { Write-Host "Jupyter is running at http://localhost:8888/" } +function Start-DockerOWASPZap() { + Param( + [string]$URL + ) + # https://github.com/zaproxy/zaproxy/wiki/Docker + docker run owasp/zap2docker-stable + docker run -i owasp/zap2docker-stable zap-cli quick-scan --self-contained --start-options '-config api.disablekey=true' $URL + Write-Host "https://github.com/zaproxy/zaproxy/wiki/Docker" +} \ No newline at end of file diff --git a/bootstrap.ps1 b/bootstrap.ps1 index 2d1fd1a..5607011 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -33,4 +33,9 @@ if(-Not(Test-Path -Path $destFile)) { if($false) { choco install consul choco install vault +} + +# OWASP ZAP for web application security scanning +if($false) { + choco install zap } \ No newline at end of file