Skip to content

Instantly share code, notes, and snippets.

@secfigo
Created August 5, 2018 22:31
Show Gist options
  • Save secfigo/d0d3e30d5eb4f156c82e493833af7817 to your computer and use it in GitHub Desktop.
Save secfigo/d0d3e30d5eb4f156c82e493833af7817 to your computer and use it in GitHub Desktop.
#!/bin/bash
#running the zap in the background
bash -c "zap.sh -daemon -host 0.0.0.0 -port 8080 -config api.disablekey=true -config api.addrs.addr.name=.* -config api.addrs.addr.regex=true 2>&1 &" && sleep 5
#running the zapscan in the backgroun
echo "************** Running ZAP python script********************"
python3 -u /zapcode/zap-scan.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment