Fix#1076 issue running plugin
Description
Plugin OWTF-CM-001
-
multi_replace()was not replacing characters in filenames.Due to which codec_open error was being thrown.owtf_1 | [-] Aborted by Framework: Error when calling 'codecs_open'! [Errno 2] No such file or directory: 'owtf_review/targets/https__www.youtube.com/partial/Testing For Ssl-Tls/active/TLSSLed_v1.2.sh (openssl/sslscan).txt'.Added else condition to take of situations where the
textdid not match the compile regex. Before change:TLSSLed_v1.2.sh (openssl/sslscan).txtAfter change:TLSSLed_v1.2.sh_openssl_sslscan.txt -
report.py which generated reports for ssl-labs had errors due to which it close before generating the report.
Replaced
json.loads()withjson.load().
Plugin OWTF-PTES-009
-
python-impacketwhich was is no longer available by in kali-linux, and has to be manually installed.Added
impacketlibrary inrequirement.txt. Made changes to the path inframework.yamlandgeneral.yaml. Changed the way the program was invoked in resources.cfg.
Reviewers
@viyatb @sharmamohit123
Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Other
Checklist:
- [X] My code follows the code style (modified PEP8) of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
@Ashrith-Shetty any updates?