Mailing List Archive

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@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
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@kingghidora 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@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
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@securicon.com> 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@list.nessus.org
> http://mail.nessus.org/mailman/listinfo/nessus
>
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus