line |
true |
false |
branch |
92
|
0 |
0 |
unless (-f $file) |
93
|
0 |
0 |
unless $self->update |
96
|
0 |
0 |
unless my $log = "Net::SinFP3::Log::Null"->new("level", $self->log->level) |
101
|
0 |
0 |
unless my $global = "Net::SinFP3::Global"->new("log", $log, "ipv6", 0, "dnsReverse", 0, "threshold", $threshold, "bestScore", $best_score_only) |
109
|
0 |
0 |
unless my $db = "Net::SinFP3::DB::SinFP3"->new("global", $global, "file", $file) |
129
|
0 |
0 |
unless my $cw = "Metabrik::Client::Www"->new_from_brik_init($self) |
130
|
0 |
0 |
unless my $files = $cw->mirror($url, $db, $datadir) |
131
|
0 |
0 |
if (@$files > 0) |
144
|
0 |
0 |
unless $self->brik_help_run_must_be_root("active_ipv4") |
145
|
0 |
0 |
unless $self->brik_help_run_undef_arg("active_ipv4", $target) |
146
|
0 |
0 |
unless $self->brik_help_run_undef_arg("active_ipv4", $port) |
153
|
0 |
0 |
unless $self->brik_help_run_file_not_found("active_ipv4", $file) |
159
|
0 |
0 |
unless my $global = "Net::SinFP3::Global"->new("log", $log, "target", $target, "port", $port, "ipv6", 0, "dnsReverse", 0, "worker", "single", "device", $device, "threshold", $threshold) |
231
|
0 |
0 |
unless $self->brik_help_run_undef_arg("export_active_db", $db) |
232
|
0 |
0 |
unless $self->brik_help_run_file_not_found("export_active_db", $db) |
244
|
0 |
0 |
unless $self->brik_help_run_undef_arg("save_active_ipv4_fingerprint", $target_host) |
245
|
0 |
0 |
unless $self->brik_help_run_undef_arg("save_active_ipv4_fingerprint", $target_port) |
249
|
0 |
0 |
unless $self->brik_help_run_file_not_found("save_active_ipv4_fingerprint", $file) |
257
|
0 |
0 |
unless my $global = "Net::SinFP3::Global"->new("log", $log, "target", $target_host, "port", $target_port, "ipv6", 0, "dnsReverse", 0, "device", $device, "threshold", $threshold) |
305
|
0 |
0 |
if (-f $pcap) |
319
|
0 |
0 |
unless $self->brik_help_run_undef_arg("save_active_ipv6_fingerprint", $target_host) |
320
|
0 |
0 |
unless $self->brik_help_run_undef_arg("save_active_ipv6_fingerprint", $target_port) |
324
|
0 |
0 |
unless $self->brik_help_run_file_not_found("save_active_ipv6_fingerprint", $file) |
332
|
0 |
0 |
unless my $global = "Net::SinFP3::Global"->new("log", $log, "target", $target_host, "port", $target_port, "ipv6", 1, "dnsReverse", 0, "device", $device, "threshold", $threshold) |
381
|
0 |
0 |
if (-f $pcap) |
393
|
0 |
0 |
unless $self->brik_help_run_undef_arg("active_ipv4_from_pcap", $pcap_file) |
394
|
0 |
0 |
unless $self->brik_help_run_file_not_found("active_ipv4_from_pcap", $pcap_file) |
398
|
0 |
0 |
unless $self->brik_help_run_file_not_found("active_ipv4_from_pcap", $file) |
406
|
0 |
0 |
unless my $global = "Net::SinFP3::Global"->new("log", $log, "ipv6", 0, "dnsReverse", 0, "device", $device, "threshold", $threshold) |
461
|
0 |
0 |
unless $self->brik_help_run_undef_arg("active_ipv6_from_pcap", $pcap_file) |
462
|
0 |
0 |
unless $self->brik_help_run_file_not_found("active_ipv6_from_pcap", $pcap_file) |
466
|
0 |
0 |
unless $self->brik_help_run_file_not_found("active_ipv6_from_pcap", $file) |
474
|
0 |
0 |
unless my $global = "Net::SinFP3::Global"->new("log", $log, "ipv6", 1, "dnsReverse", 0, "device", $device, "threshold", $threshold) |
559
|
0 |
0 |
if ($opts =~ /^(.*080a)(.{8})(.{8})(.*)/) |
567
|
0 |
0 |
unless ($a =~ /00000000/ or $a =~ /44454144/) |
570
|
0 |
0 |
unless ($b =~ /00000000/ or $b =~ /44454144/) |
576
|
0 |
0 |
if ($opts =~ /0204(....)/) |
577
|
0 |
0 |
if ($1) |
583
|
0 |
0 |
if ($opts =~ /0303(..)/) |
584
|
0 |
0 |
if ($1) |
599
|
0 |
0 |
$opts ? : |
608
|
0 |
0 |
unless $self->brik_help_run_undef_arg("to_signature_from_tcp_window_and_options", $window) |
610
|
0 |
0 |
unless $self->brik_help_run_undef_arg("to_signature_from_tcp_window_and_options", $options) |
639
|
0 |
0 |
unless $self->brik_help_run_undef_arg("to_signature_from_tcp_options", $options) |
667
|
0 |
0 |
unless $self->brik_help_run_undef_arg("active_ipv4_from_tcp_window_and_options", $window) |
669
|
0 |
0 |
unless $self->brik_help_run_undef_arg("active_ipv4_from_tcp_window_and_options", $options) |
674
|
0 |
0 |
unless my $mode = "Net::SinFP3::Mode::Active"->new("global", $global, "doP1", 1, "doP2", 1, "doP3", 1) |
683
|
0 |
0 |
unless my $s = $self->to_signature_from_tcp_window_and_options($window, $options) |
693
|
0 |
0 |
unless (defined $s2) |
715
|
0 |
0 |
unless $self->brik_help_run_undef_arg("active_ipv4_from_tcp_options", $options) |
719
|
0 |
0 |
unless my $mode = "Net::SinFP3::Mode::Active"->new("global", $global, "doP1", 1, "doP2", 1, "doP3", 1) |
728
|
0 |
0 |
unless my $s = $self->to_signature_from_tcp_options($options) |
738
|
0 |
0 |
unless (defined $s2) |
760
|
0 |
0 |
unless $self->brik_help_run_undef_arg("active_ipv4_from_signature", $signature) |
761
|
0 |
0 |
unless $self->brik_help_run_invalid_arg("active_ipv4_from_signature", $signature, "HASH") |
765
|
0 |
0 |
unless my $mode = "Net::SinFP3::Mode::Active"->new("global", $global, "doP1", 1, "doP2", 1, "doP3", 1) |
783
|
0 |
0 |
unless (defined $s2) |
805
|
0 |
0 |
unless $self->brik_help_run_undef_arg("get_os_list_from_result", $result) |
806
|
0 |
0 |
unless $self->brik_help_run_invalid_arg("get_os_list_from_result", $result, "ARRAY") |
807
|
0 |
0 |
unless $self->brik_help_run_empty_array_arg("get_os_list_from_result", $result) |
818
|
0 |
0 |
if (defined $global) |
824
|
0 |
0 |
if (defined $search) |
827
|
0 |
0 |
if (defined $mode) |
830
|
0 |
0 |
if (defined $db) |
833
|
0 |
0 |
if (defined $log) |