Patrice Auffret > Net-SinFP3-1.22 > Net::SinFP3::Result::Active

Download:
Net-SinFP3-1.22.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Net::SinFP3::Result::Active - contains all information about matched fingerprint

SYNOPSIS ^

   # A SinFP object has previously been created,
   # used, and some matches have been found

   for my $r ($sinfp->resultList) {
      print 'idSignature:     '.$r->idSignature    ."\n";
      print 'ipVersion:       '.$r->ipVersion      ."\n";
      print 'systemClass:     '.$r->systemClass    ."\n";
      print 'vendor:          '.$r->vendor         ."\n";
      print 'os:              '.$r->os             ."\n";
      print 'osVersion:       '.$r->osVersion      ."\n";
      print 'osVersionFamily: '.$r->osVersionFamily."\n";
      print 'matchType:       '.$r->matchType      ."\n";
      print 'matchMask:       '.$r->matchMask      ."\n";
      print 'matchScore:      '.$r->matchScore     ."\n";

      for ($r->osVersionChildrenList) {
         print "osVersionChildren: $_\n";
      }

      print "\n";
   }

   # Or use the print method
   for my $r ($sinfp->resultList) {
      print $r->print;
   }

DESCRIPTION ^

This module is the "result" object, used to ask SinFP which operating systems have matched by searching from the signature database.

METHODS ^

new

Object constructor.

printSignature

Display computed signature.

print

Display the complete result details.

updateMatchScore

Re-compute the match score (based on the match mask).

ATTRIBUTES ^

idSignature
ipVersion
systemClass
vendor
os
osVersion
osVersionFamily
matchType
matchMask
matchScore

Standard attributes, names are self explanatory.

osVersionChildrenList

This one returns an array of OS version children. For example, if a Linux 2.6.x matches, you may have more known versions from this array (2.6.18, ...).

AUTHOR ^

Patrice <GomoR> Auffret

COPYRIGHT AND LICENSE ^

Copyright (c) 2011-2014, Patrice <GomoR> Auffret

You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.

syntax highlighting: