Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Make sure python3 and python3-pip are installed (sudo apt install python3 python3-pip)
- 2. Install python dependencies (pip3 install requests python-owasp-zap-v2.4)
- 3. Navigate to folder with zapproxy.py
- 4. Make script executable (sudo chmod +x zapproxy.py)
- 5. You can now run it with ./zapproxy.py
- Before you run it, make sure you open the script and set the first three variables.
- Instructions are also in the script.
- You need to set the target URL, the ZAP API Key, and the path to the ZAP script.
- api_key example: 'r86avp0g88lcjxas2mpbfpcj'
- (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.
- target_url example: 'https://padss.oneshield.com/oneshield/'
- zap_path example: '/home//Downloads/ZAP_2.8.1/zap.sh'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement