X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/10bfb0683a484fd38b4129326bfcbb6fb274fd96..ef88c8132a2fa18e39324e652fd0554499fb8111:/Microsoft.PowerShell_profile.ps1?ds=inline diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index efc468e..aa1d60f 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -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