]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Changes for OWASP ZAP
authorEdward Delaporte <delaport@illinois.edu>
Thu, 23 Jan 2020 22:26:48 +0000 (16:26 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Thu, 23 Jan 2020 22:26:48 +0000 (16:26 -0600)
Microsoft.PowerShell_profile.ps1
bootstrap.ps1

index fa6496a5b2483b789ed3fed2d25075f744092687..aa1d60f4ae14c8db1a9fa3e7e80d8b15714e9bf7 100644 (file)
@@ -26,3 +26,12 @@ 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"
+}
\ No newline at end of file
index 2d1fd1a1dcf32be8e4e54d26a75914cda3c9b60f..560701100d5e6fc9c9ec802100ecef4349c9fc47 100644 (file)
@@ -33,4 +33,9 @@ if(-Not(Test-Path -Path $destFile)) {
 if($false) {
   choco install consul
   choco install vault
 if($false) {
   choco install consul
   choco install vault
+}
+
+# OWASP ZAP for web application security scanning
+if($false) {
+  choco install zap
 }
\ No newline at end of file
 }
\ No newline at end of file