rapid7 / nexpose-client-python

DEPRECATED : Rapid7 Nexpose API client library written in Python
https://www.rapid7.com/
BSD 3-Clause "New" or "Revised" License
25 stars 20 forks source link

Bug: DemonstrateVulnerabilityAPI() #31

Closed ghost closed 6 years ago

ghost commented 6 years ago

Description

Workaround for the following error

nexpose.nexpose.NexposeConnectionException: Unable to execute the request: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.!

Observed when editing run_demo.py and uncommenting DemonstrateVulnerabilityAPI()

Motivation and Context

DemonstrateVulnerabilityAPI() demo does not work as is

How Has This Been Tested?

Ran run_demo.py with DemonstrateVulnerabilityAPI() uncommented.

Note Currently unable to test against all of the Demonstration methods as some appear to be broken;

Working

Not-working

Types of changes

Checklist: