Home > Archive > PERL Modules > February 2005 > Net::Nessus Module
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Net::Nessus Module
|
|
|
| Hi all,
Is it possible to start an attack (this already works with the
Net::Nessus::Client module) and after the nessus server finished
scanning loop through all the results directly?
What I cannot use is this given example on cpan
my @ftp_holes = @{$messages->{'21'}->{'PORT'}};
since I don't know the ports /holes in advance , so I don't know which
ones to look for. I would need a list of found holes / warnings /notes
I could loop through like:
while (my $hole = give_me_next_hole($results_for_this_scan
)) { ... }
Thanks in advance,
Kurt
| |
| Tom Regner 2005-02-09, 3:56 pm |
| Kurt wrote:
> Hi all,
>
> Is it possible to start an attack (this already works with the
> Net::Nessus::Client module) and after the nessus server finished
> scanning loop through all the results directly?
>
> What I cannot use is this given example on cpan
>
> my @ftp_holes = @{$messages->{'21'}->{'PORT'}};
>
> since I don't know the ports /holes in advance , so I don't know which
> ones to look for. I would need a list of found holes / warnings /notes
> I could loop through like:
>
> while (my $hole = give_me_next_hole($results_for_this_scan
)) { ... }
hmmm, after a glance over the perldoc:
for my $hole (@$messages) {
my $port = $hole->{PORT};
[...]
}
should do what you want
regards,
Tom
--
Dievision GmbH | Kriegerstrasse 44 | 30161 Hannover
Telefon: (0511) 288791-0 | Telefax: (0511) 288791-99
http://www.dievision.de
|
|
|
|
|