X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/10bfb0683a484fd38b4129326bfcbb6fb274fd96..d061a48bab4fc296c916164b9c9754cc5c7185e2:/Microsoft.PowerShell_profile.ps1 diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index efc468e..11bd2c2 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -22,5 +22,29 @@ 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" +} + + +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" +}