Changeset 986

Show
Ignore:
Timestamp:
11/07/07 16:11:00 (1 year ago)
Author:
kindlund
Message:

DB integration testing.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/trunk/etc/honeyclient.xml

    r982 r986  
    329329    <DB> 
    330330        <enable description="Enables database operations. 1 enables, 0 disables." default="0"> 
    331             0 
     331            1 
    332332        </enable> 
    333333        <host description="The system providing the HoneyClient database.  If the database is installed on the same host system as the Manager, then localhost should be used." default="127.0.0.1"> 
  • honeyclient/trunk/lib/HoneyClient/Manager.pm

    r937 r986  
    733733                    # Insert Compromised Fingerprint into DB. 
    734734                    my $fingerprint = $ret->{$args{'driver'}}->{status}->{fingerprint}; 
    735                     $LOG->warn("VM Compromised.  Last Resource (" . $fingerprint->{'last_resource'} . ")"); 
     735                    $LOG->warn("VM Compromised.  Last Resource (" . delete($fingerprint->{'last_resource'}) . ")"); 
    736736                    if ($DB_ENABLE && ($clientDbId > 0)) { 
    737737                        # Remove the last_url from the fingerprint and insert it as Url History