Installing the pynexpose Python Module

Nexpose has an API that allows us to access its functionalities from external applications, in such a way that it enables the automation of the tasks that a user must carry out from the administration interface or from the nexpose console. The API allows any routine code to interact with a nexpose instance using HTTPS invocations to return functions in XML format. It is important to use the HTTPS protocol, not only for security reasons, but also because the API does not support calls using HTTP.

In Python, we have the Pynexpose module, whose code can be found at https://code.google.com/archive/p/pynexpose/.

The Pynexpose module allows programmatic access from Python to the vulnerability scanner located ...

Get Mastering Python for Networking and Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.