]> apps.delaporte.us Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Add some vulnerable docker containers
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index fa6496a5b2483b789ed3fed2d25075f744092687..11bd2c28e91f4ed9f5a70bef0a9d7202348fdbd6 100644 (file)
@@ -26,3 +26,25 @@ function Start-DockerRStudio() {
   Write-Host "Jupyter is running at http://localhost:8888/"
 }
 
   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"
+}
+
+
+function Start-DockerWebGoat() {
+  docker pull webgoat/webgoat-8.0 
+  docker run -p 8080:8080 -t webgoat/webgoat-8.0
+  Write-Host "Vulnerable Webgoat running on 8080"
+}
+
+function Start-JuiceShop() {
+  docker pull bkimminich/juice-shop
+  docker run --rm -p 3000:3000 bkimminich/juice-shop
+  Write-Host "Vulnerable Juice Shop running on 3000"
+}