O'Reilly logo

Mastering Python for Networking and Security by Jose Manuel Ortega

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required