Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Nessus: users

Print out of all nessus plugins with ID number and description

 

 

Nessus users RSS feed   Index | Next | Previous | View Threaded


james.kelly at securicon

Jan 22, 2009, 8:16 AM

Post #1 of 3 (2302 views)
Permalink
Print out of all nessus plugins with ID number and description

Would it be possible to dump out a list of all Nessus plugins showing id
number in column 1 and description in column 2?

Jim Kelly

_______________________________________________
Nessus mailing list
Nessus [at] list
http://mail.nessus.org/mailman/listinfo/nessus


rgula at tenablesecurity

Jan 23, 2009, 6:21 AM

Post #2 of 3 (2216 views)
Permalink
Re: Print out of all nessus plugins with ID number and description [In reply to]

James Kelly wrote:
> Would it be possible to dump out a list of all Nessus plugins showing id
> number in column 1 and description in column 2?

Hi James,

Yes it is possible.

There is a '-p' option on the Nessus command line to dump out a list of plugins
from the remote Nessus scanner such as:

[root [at] kingghidor bin]# ./nessus -p 192.168.20.207 1241 <nessususer> <nessuspassword>

This dumps out everything about the description, family, name, .etc.

You'd need to do some text manipulation of the data to get it into the format you
are looking for.

Ron Gula, CTO
Tenable Network Security

_______________________________________________
Nessus mailing list
Nessus [at] list
http://mail.nessus.org/mailman/listinfo/nessus


ulises2k at gmail

Jan 23, 2009, 6:26 AM

Post #3 of 3 (2216 views)
Permalink
Re: Print out of all nessus plugins with ID number and description [In reply to]

I modified a script i use.

------------------BOF-------------------------------
#!/bin/bash
SERVER_IP='127.0.0.1'
SERVER_PORT='1241'
USR_NAME='pepe'
USR_PASS='pepe'
NESSUS_PATH=/opt/nessus
SEND_FILE=/root/test.plugin.log

$NESSUS_PATH/bin/nessus -qp $SERVER_IP $SERVER_PORT $USR_NAME
$USR_PASS > /root/nessus/plugins.txt

for x in $(cat /root/nessus/plugins.txt | awk 'BEGIN { FS ="|" } ;
{print $1}' | sort )
do
grep "$x" /root/nessus/plugins.txt | awk 'BEGIN { FS = "|" } ;
{ print "ID: " $1 " | Name: " $3 }' >> $SEND_FILE
done


less $SEND_FILE

------------------EOF-------------------------------

Regards,

--
Ulises U. Cuñé
Web: http://www.ulises2k.com.ar



On Thu, Jan 22, 2009 at 14:16, James Kelly <james.kelly [at] securicon> wrote:
> Would it be possible to dump out a list of all Nessus plugins showing id
> number in column 1 and description in column 2?
>
> Jim Kelly
>
> _______________________________________________
> Nessus mailing list
> Nessus [at] list
> http://mail.nessus.org/mailman/listinfo/nessus
>
_______________________________________________
Nessus mailing list
Nessus [at] list
http://mail.nessus.org/mailman/listinfo/nessus

Nessus users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.