Changeset 393

Show
Ignore:
Timestamp:
05/29/07 14:06:08 (1 year ago)
Author:
kindlund
Message:

Testing Agent→destroy() operations.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/kindlund-filesystem/bin/StartAgent.pl

    r342 r393  
    7878        } 
    7979    } 
     80 
     81    # XXX: Remove this, eventually. 
     82    print "Sleeping for 500s...\n"; 
     83    sleep(500); 
     84    print "Calling destroy()...\n"; 
     85    HoneyClient::Agent->destroy(); 
     86    exit; 
    8087} 
    8188 
  • honeyclient/branches/exp/kindlund-filesystem/bin/StartManager.pl

    r337 r393  
    2525 
    2626my $driver = "IE"; 
    27 my $config = "/vm/master-vms/Agent.Master-15/winXPPro.cfg"; 
     27my $config = "/dev/shm/master-vms/experimental/winXPPro.cfg"; 
    2828my $maxrel = 5; 
    2929my $nexturl = ""; 
  • honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent.pm

    r391 r393  
    413413        # if any type of termination signal is received. 
    414414        local $SIG{HUP} = sub { exit; }; 
    415         # XXX: Test this. 
    416         #local $SIG{INT} = sub { exit; }; 
    417         local $SIG{INT} = sub { destroy(); exit; }; 
    418  
     415        local $SIG{INT} = sub { exit; }; 
    419416        local $SIG{QUIT} = sub { exit; }; 
    420417        local $SIG{ABRT} = sub { exit; };