Hi,
I don't know exactly why this happens on your system, but I can tell that you're doing some things wrong (which may be causing the process' suspension):
According to the module's
documentation, there is
no "
function()": it's there just to illustrate how to use the OTHER functions of the module - such as
nports(),
nwebdirs(), etc. So you should get rid of those calls in your code.
Another thing that you should know (but I'm saying it nonetheless) is that
@nessusdata should contain the NBE file from nessus - at least that's what I think. Something like:
open(NBE, '<', 'path/to/nessus/data.nbe') or die "$!\n";
@nessusdata = <NBE>;
close(NBE);
Last but not least, I couldn't get any of the exported functions to work unless I explicitly exported them. This means that if you want to use
nnfs() and
nos() (for example) you should replace:
use Parse::Nessus::NBE;
with
use Parse::Nessus::NBE qw( nnfs nos );
and so on...
Good luck! And be careful to read the manuals (and also the monastery
guidelines ;-)