Fix Nikto Port replacement (#3341)
Fix Nikto Port replacement (#3341)

* Fix nikto port replacement

This fix changes the way the nikto parser removes the ports from the endpoint. Previously and enpoint like 127.0.0.1:8080 was changed into 127.0.0.180. Now, only port ":80" and ":443" with optional trailing "/" will be replaced.

* Update parser.py

Make flake8 compliant

Co-authored-by: sascha.duwe <4b0351cf59e665acb03e9b136d0af9b0d9ad7d18@idealo.de>
rackerlabs/django-DefectDojo,rackerlabs/django-DefectDojo,rackerlabs/django-DefectDojo,rackerlabs/django-DefectDojo