On Sep 14, 2005, at 8:45, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:
if you are ONLY using the GPL plugin feed, then you can do this. but
if you are using either of the other feeds, then it would be a
violation of the eula to edit the plugins and make any changes. for
anything other than the GPL plugins, you are just stuck with them the
way they are.
This is irrelevant of the plugin license, in spite of what you say
(and if you're not happy with the license of the plugins, just stop
using Nessus - it's not like we're forcing you).
It would be a bad idea to modify the plugins because next time you do
a plugin update, your changes would be overwritten anyways.
It's smarter to write a perl script which replaces the rating in
your .nbe files by something else.
ie: you want to change the risk rating of plugin #101010 from "Low"
to "High" and plugin #11111 from High to Low:
$ cat > upgrade_script.pl << EOF
#!/bin/perl
while ( <STDIN> )
{
@array = split(/\|/, $_);
$id = $array[4];
if ( $id == "101010" )
{
$_ =~ s/Security Note/Security Hole/g;
}
if ( $id = "11111" )
{
$_ =~ s/Security Hole/Security Note/g;
}
print $_;
}
EOF
$ chmod +x upgrade_script.pl
Then you simply need to convert your .nbe script :
$ ./upgrade_script.pl < report.nbe > better_report.nbe
-- Renaud
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus