class NessusXMLRPC::NessusXMLRPC
Main class which controls Nessus using XMLRPC. It is adviseable to use this NessusXMLRPC
class, and not NessusXMLRPCnokogiri
or NessusXMLRPCrexml
, As NessusXMLRPC
class will use nokogiri or rexml, depending on availability. Of course, choosing nokogiri first because of speed.
Example:
n=NessusXMLRPC::NessusXMLRPC.new('https://localhost:8834','user','pass'); if n.logged_in id,name = n.policy_get_first uid=n.scan_new(id,"textxmlrpc","127.0.0.1") puts "status: " + n.scan_status(uid) end
Check NessusXMLRPCrexml
for description of methods implemented (for both NessusXMLRPCnokogiri
and NessusXMLRPCrexml
).