Library to talk to a remote Nessus 5 server that via its xmlrpc interface.
Project description
Client for the xml rpc interface of the Nessus vulnerability scanner v5+.
Methods mirror what is in the official API at http://static.tenable.com/documentation/nessus_5.0_XMLRPC_protocol_guide.pdf in a pythonic way so that you don’t have to care about json or xml.
Ongoing work
Features are being added, not all the API is mapped yet. As all the api calls kind of look the same, it is braindead work so pull requests are more than welcome.
Example usage
with Nessus('127.0.0.1:8443') as nes:
nes.Login('admin', 'pass$%&(#'%#[]@:')
logging.info('Feeds: %s', nes.Feed())
All calls can also be done asynchronously if needed:
with Nessus('127.0.0.1:8443') as nes:
def LoginCallback(result, error=None):
if error:
logging.warning('Error while logging: %s', error)
return
logging.info('Correcty logged in: %s', result)
future = nes.Login('admin', 'pass$%&(#\'%#[]@:', callback=LoginCallback)
futures.wait([future])
# At this point the LoginCallback is sure to have been called.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pynessus-0.9.1.zip
(10.0 kB
view details)
File details
Details for the file pynessus-0.9.1.zip
.
File metadata
- Download URL: pynessus-0.9.1.zip
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0aba6e0f52fd5ecfc6f25b9791b528a425d09f92f0e7fd0d3f4e4f400b07de9 |
|
MD5 | dd52eb919cfbf5a128b981ff407a6144 |
|
BLAKE2b-256 | 5003336b36ddbbb7de5effb1195a6511fa205e01373168448d6e8eb721572add |