Changeset 769
- Timestamp:
- 07/26/07 14:44:38 (1 year ago)
- Files:
-
- honeyclient/trunk/bin/StartManager.pl (modified) (2 diffs)
- honeyclient/trunk/lib/HoneyClient/Manager.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/trunk/bin/StartManager.pl
r754 r769 27 27 # 'HoneyClient::Agent::Driver::Browser::FF' 28 28 my $driver = "HoneyClient::Agent::Driver::Browser::IE"; 29 my $config = "/vm/master-vms/Agent.Master-23/winXPPro.cfg";30 my $maxrel = 10;29 my $config = undef; 30 my $maxrel = -1; 31 31 my $nexturl = ""; 32 32 my $urllist= ""; … … 67 67 $driver => { 68 68 next_link_to_visit => $firsturl, 69 # Enable this line, if you want to only go to the70 # first 5 links for each domain.71 69 max_relative_links_to_visit => $maxrel, 72 70 links_to_visit => \%remaining_urls, honeyclient/trunk/lib/HoneyClient/Manager.pm
r763 r769 463 463 my ($class, %args) = @_; 464 464 my $agentState = undef; 465 466 # Sanity check, make sure the master_vm_config has 467 # been specified. 468 my $argsExist = scalar(%args); 469 if (!$argsExist || 470 !exists($args{'master_vm_config'}) || 471 !defined($args{'master_vm_config'})) { 472 # Get the master_vm_config from the configuration file. 473 $args{'master_vm_config'} = getVar(name => "master_vm_config", 474 namespace => "HoneyClient::Manager::VM"); 475 } 465 476 466 477 for (;;) {
