owtf icon indicating copy to clipboard operation
owtf copied to clipboard

Fix#1076 issue running plugin

Open Ashrith-Shetty opened this issue 5 years ago • 1 comments

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 text did not match the compile regex. Before change: TLSSLed_v1.2.sh (openssl/sslscan).txt After 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() with json.load().

Plugin OWTF-PTES-009

  • python-impacket which was is no longer available by in kali-linux, and has to be manually installed.

    Added impacket library in requirement.txt. Made changes to the path in framework.yaml and general.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 avatar Jul 24 '20 17:07 Ashrith-Shetty

@Ashrith-Shetty any updates?

viyatb avatar Nov 23 '20 21:11 viyatb