]> apps.delaporte.us Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Changes for OWASP ZAP
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index efc468ee53a9517d2b54daa7c575fea948ca4225..aa1d60f4ae14c8db1a9fa3e7e80d8b15714e9bf7 100644 (file)
@@ -22,5 +22,16 @@ function New-DockerRStudio() {
 }
 function Start-DockerRStudio() {
   docker start rpython
+  Write-Host "R Studio is running at http://localhost:8787/"
+  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