zaproxy / community-scripts

A collection of ZAP scripts and tips provided by the community - pull requests very welcome!
Apache License 2.0
761 stars 234 forks source link

Update SDLC scripts to support Python 3 #61

Open thc202 opened 7 years ago

thc202 commented 7 years ago

From OWASP ZAP Scripts: https://groups.google.com/d/msg/zaproxy-scripts/slkCdYTN3Rk/oTXhzghIBAAJ

The current SDLC scripts [1] do not work correctly with Python 3.

[1] https://github.com/zaproxy/community-scripts/tree/main/api/sdlc-integration

kingthorin commented 5 years ago

There might be other items as well, but for the one mentioned in the thread. has_key should be replaced with in. See https://portingguide.readthedocs.io/en/latest/dicts.html for further details.