]> apps.delaporte.us Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Add some vulnerable docker containers
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index efc468ee53a9517d2b54daa7c575fea948ca4225..11bd2c28e91f4ed9f5a70bef0a9d7202348fdbd6 100644 (file)
@@ -22,5 +22,29 @@ function New-DockerRStudio() {
 }
 function Start-DockerRStudio() {
   docker start rpython
 }
 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"
+}
+
+
+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"
+}