X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/8b7ca791544df478ad6c836cbbcf5a3cdf441955..ef88c8132a2fa18e39324e652fd0554499fb8111:/Microsoft.PowerShell_profile.ps1?ds=sidebyside 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