WIP discovery f3

Former-commit-id: cee7ee096e0a0c065bc4312a149ee223303224fc
This commit is contained in:
fbsanchez 2019-04-03 22:52:37 +02:00
parent 654e0c28f6
commit 9e83f139e1
1 changed files with 3 additions and 2 deletions

View File

@ -1464,8 +1464,11 @@ sub db_scan($) {
if (!defined($dbObj)) { if (!defined($dbObj)) {
call('message', 'Cannot connect to target ' . $target, 3); call('message', 'Cannot connect to target ' . $target, 3);
$self->{'summary'}->{'not_alive'} += 1;
next; next;
} }
$self->{'summary'}->{'discovered'} += 1;
$self->{'summary'}->{'alive'} += 1;
my @modules; my @modules;
@ -1503,8 +1506,6 @@ sub db_scan($) {
} }
]; ];
use Data::Dumper;
print Dumper($data);
$self->call('create_agents', $data); $self->call('create_agents', $data);
# Destroy item. # Destroy item.