Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. 1. Make sure python3 and python3-pip are installed (sudo apt install python3 python3-pip)
  2.  
  3. 2. Install python dependencies (pip3 install requests python-owasp-zap-v2.4)
  4.  
  5. 3. Navigate to folder with zapproxy.py
  6.  
  7. 4. Make script executable (sudo chmod +x zapproxy.py)
  8.  
  9. 5. You can now run it with ./zapproxy.py
  10.  
  11. Before you run it, make sure you open the script and set the first three variables.
  12. Instructions are also in the script.
  13.  
  14. You need to set the target URL, the ZAP API Key, and the path to the ZAP script.
  15.  
  16. api_key example: 'r86avp0g88lcjxas2mpbfpcj'
  17. (Find the API key by first opening the ZAP GUI the normal way, then going to Tools -> Options -> API and copying the API key there. You must now exit out of the ZAP GUI.
  18.  
  19. target_url example: 'https://padss.oneshield.com/oneshield/'
  20.  
  21. zap_path example: '/home//Downloads/ZAP_2.8.1/zap.sh'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement