Changeset 171

Show
Ignore:
Timestamp:
01/24/07 14:17:27 (2 years ago)
Author:
kindlund
Message:

Updated checkAll() to always check both registry and filesystem.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/mbriggs-db/lib/HoneyClient/Agent/Integrity.pm

    r149 r171  
    380380        print CHANGES Dumper($changes); 
    381381        close CHANGES; 
    382         return $changes; 
    383382    } 
    384383    print "No registry changes have occurred.\n"; 
    385384    $retval = $self->checkFileSystem(); 
    386385 
     386    # XXX: Returns only registry key changes, if changes exist. 
     387    # Does not currently return ALL registry/filesystem changes, as doing so 
     388    # is not fully documented yet. 
     389    if (scalar(@{$changes})) { 
     390        return $changes; 
     391    } 
     392 
     393    # XXX: If we got to this point, then return that the filesystem has changed 
     394    # in some manner. 
    387395    return $retval; 
    388396}