20
Apr
2011

NessusDB v1.4 Released

NessusDB v1.4 has been released. This release has a few minor changes and one major change. I added a --console option for creating a command line into the database using ActiveRecord models.


#1.4.0 (April 20, 2011)

- Added a --console option for creating a ActiveRecord console into the database
- Updated the parser to handle the new plugin_type field on the plugins table
- Fixed a issue with the parser where Nessus leaves the ip field blank for some reason but the name field is the ip. 
- Now validates the correctness of the ip and puts it in the ip field
- Added 'cpe' field from the updated Nessus XML
- Added 'plugin_type' field from the updated Nessus XML
- New Templates
    - Simple list of findings by host, in findings_host.rb [Ticket #27]

Below is a simple demo of how to start up and use the console (Spacing added for readability):


[hammackj@taco:~/Projects/]$ nessusdb --console

                                   _ _       
 _ __   ___  ___ ___ _   _ ___  __| | |__  
| '_ \ / _ \/ __/ __| | | / __|/ _` | '_ \ 
| | | |  __/\__ \__ \ |_| \__ \ (_| | |_) |
|_| |_|\___||___/___/\__,_|___/\__,_|_.__/ 

NessusDB Console v1.4
>> Host.first
=> #<NessusDB::Models::Host id: 1, report_id: 1, name: "10.69.69.74", os: "Linux Kernel 2.6 on Debian 4.0 (etch)", 
mac: "XX:XX:XX:XX:XX:XX", start: "2011-04-20 16:29:37", end: "2011-04-20 16:32:14", ip: "10.69.69.74", 
fqdn: "redada.hammackj.net", netbios: "REDADA", local_checks_proto: nil, smb_login_used: nil, ssh_auth_meth: nil, 
ssh_login_used: nil, pci_dss_compliance: nil, notes: nil>
>> Item.first
=> #<NessusDB::Models::Item id: 1, host_id: 1, plugin_id: 1, plugin_output: nil, port: 22, svc_name: "ssh", protocol: "tcp", 
severity: 0, verified: nil>

Available Models are:


NessusDB::Models::Host
NessusDB::Models::FamilySelection
NessusDB::Models::Item
NessusDB::Models::IndividualPluginSelection
NessusDB::Models::Plugin
NessusDB::Models::PluginsPreference
NessusDB::Models::ServerPreference
NessusDB::Models::Report
NessusDB::Models::Reference
NessusDB::Models::Policy
NessusDB::Models::Version