Changeset 332
- Timestamp:
- 05/06/07 21:46:25 (1 year ago)
- Files:
-
- honeyclient/trunk/bin/StartAgent.pl (modified) (1 diff)
- honeyclient/trunk/lib/HoneyClient/Agent.pm (modified) (4 diffs)
- honeyclient/trunk/lib/HoneyClient/Util/SOAP.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/trunk/bin/StartAgent.pl
r331 r332 60 60 for (;;) { 61 61 # TODO: Make this a programmatic value. 62 sleep ( 60);62 sleep (5); 63 63 $som = $stub->getState(); 64 64 if (defined($som) and (ref($som) eq "SOAP::SOM")) { honeyclient/trunk/lib/HoneyClient/Agent.pm
r328 r332 653 653 # Temporary variable, used to hold thread objects. 654 654 my $thread = undef; 655 656 # XXX: Delete this, maybe? 657 my $integrity = undef; 655 658 656 659 # TODO: Eventually, use the globally defined array … … 720 723 721 724 # Initially set local integrity object to undef. 722 my $integrity = undef;725 my $integrity2 = undef; 723 726 724 727 # Initially set all driver objects to undef. … … 733 736 # As such, do NOT try to call integrity checks on multiple, simultaneous 734 737 # asynchronous threaded drivers. 735 $integrity = thaw($integrityState);738 $integrity2 = thaw($integrityState); 736 739 # Perform initial integrity baseline check. 737 740 #print "Initializing Integrity Check...\n"; … … 844 847 845 848 # TODO: Perform Integrity Check 846 if (defined($integrity )) {849 if (defined($integrity2)) { 847 850 # For now, we update a scalar called 'is_compromised' within 848 851 # the $data->{$driverName}->{'status'} sub-hashtable. 849 852 print "Performing Integrity Checks...\n"; 850 my $changes = $integrity ->check();853 my $changes = $integrity2->check(); 851 854 if (scalar(@{$changes->{registry}}) || 852 855 scalar(@{$changes->{filesystem}})) { honeyclient/trunk/lib/HoneyClient/Util/SOAP.pm
r331 r332 459 459 my $timeout = getVar(name => "timeout", 460 460 namespace => $args{'namespace'}); 461 # XXX: Delete this, eventually.462 print "TIMEOUT = " . $timeout . "\n";463 461 my $URL_BASE = "http://" . $args{'address'} . ":" . $args{'port'}; 464 462 my $URL = $URL_BASE . "/" . join('/', split(/::/, $args{'namespace'}));
