Changeset 766
- Timestamp:
- 07/25/07 22:46:00 (1 year ago)
- Files:
-
- honeyclient/trunk/LICENSE (modified) (5 diffs)
- honeyclient/trunk/etc/honeyclient.xml (modified) (1 diff)
- honeyclient/trunk/lib/HoneyClient/Agent/Driver/ActiveContent/Flash.pm (modified) (1 diff)
- honeyclient/trunk/lib/HoneyClient/Agent/Driver/Browser/FF.pm (modified) (3 diffs)
- honeyclient/trunk/lib/HoneyClient/Agent/Driver/Browser/IE.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/trunk/LICENSE
r13 r766 1 GNU GENERAL PUBLIC LICENSE2 Version 2, June 19911 GNU GENERAL PUBLIC LICENSE 2 Version 2, June 1991 3 3 4 4 Copyright (C) 1989, 1991 Free Software Foundation, Inc. … … 7 7 of this license document, but changing it is not allowed. 8 8 9 Preamble9 Preamble 10 10 11 11 The licenses for most software are designed to take away your … … 57 57 modification follow. 58 58 59 GNU GENERAL PUBLIC LICENSE59 GNU GENERAL PUBLIC LICENSE 60 60 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 61 … … 256 256 of promoting the sharing and reuse of software generally. 257 257 258 NO WARRANTY258 NO WARRANTY 259 259 260 260 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY … … 278 278 POSSIBILITY OF SUCH DAMAGES. 279 279 280 END OF TERMS AND CONDITIONS280 END OF TERMS AND CONDITIONS honeyclient/trunk/etc/honeyclient.xml
r754 r766 458 458 <!-- HoneyClient::Manager::VM Options --> 459 459 <VM> 460 <!-- TODO: Need to include logic to use this variable. -->461 460 <master_vm_config description="The full absolute path to the VM configuration file on the host system that will be used by all subsequent cloned VMs."> 462 461 /vm/master-vms/Agent.Master-23/winXPPro.cfg honeyclient/trunk/lib/HoneyClient/Agent/Driver/ActiveContent/Flash.pm
r690 r766 237 237 } 238 238 239 # Strip out all control characters and place each line as240 # separate entry in an array.241 my @bytecode = split(/[[:cntrl:]]+/, $code);239 # Strip out all control characters and place each line as 240 # separate entry in an array. 241 my @bytecode = split(/[[:cntrl:]]+/, $code); 242 242 243 243 # Parse out lines that contain the getURL method (exclude any honeyclient/trunk/lib/HoneyClient/Agent/Driver/Browser/FF.pm
r751 r766 155 155 BEGIN { 156 156 157 # Defines which functions can be called externally.158 require Exporter;159 our ( @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION );160 161 # Set our package version.162 $VERSION = 0.97;163 164 # Define inherited modules.165 use HoneyClient::Agent::Driver::Browser;166 167 @ISA = qw(Exporter HoneyClient::Agent::Driver::Browser);168 169 # Symbols to export automatically170 # Note: Since this module is object-oriented, we do *NOT* export171 # any functions other than "new" to call statically. Each function172 # for this module *must* be called as a method from a unique173 # object instance.174 @EXPORT = qw();175 176 # Items to export into callers namespace by default. Note: do not export177 # names by default without a very good reason. Use EXPORT_OK instead.178 # Do not simply export all your public functions/methods/constants.179 180 # This allows declaration use HoneyClient::Agent::Driver::Browser::FF ':all';181 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK182 # will save memory.183 184 # Note: Since this module is object-oriented, we do *NOT* export185 # any functions other than "new" to call statically. Each function186 # for this module *must* be called as a method from a unique187 # object instance.188 %EXPORT_TAGS = ( 'all' => [qw()], );189 190 # Symbols to autoexport (when qw(:all) tag is used)191 @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );192 193 $SIG{PIPE} = 'IGNORE'; # Do not exit on broken pipes.157 # Defines which functions can be called externally. 158 require Exporter; 159 our ( @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION ); 160 161 # Set our package version. 162 $VERSION = 0.97; 163 164 # Define inherited modules. 165 use HoneyClient::Agent::Driver::Browser; 166 167 @ISA = qw(Exporter HoneyClient::Agent::Driver::Browser); 168 169 # Symbols to export automatically 170 # Note: Since this module is object-oriented, we do *NOT* export 171 # any functions other than "new" to call statically. Each function 172 # for this module *must* be called as a method from a unique 173 # object instance. 174 @EXPORT = qw(); 175 176 # Items to export into callers namespace by default. Note: do not export 177 # names by default without a very good reason. Use EXPORT_OK instead. 178 # Do not simply export all your public functions/methods/constants. 179 180 # This allows declaration use HoneyClient::Agent::Driver::Browser::FF ':all'; 181 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK 182 # will save memory. 183 184 # Note: Since this module is object-oriented, we do *NOT* export 185 # any functions other than "new" to call statically. Each function 186 # for this module *must* be called as a method from a unique 187 # object instance. 188 %EXPORT_TAGS = ( 'all' => [qw()], ); 189 190 # Symbols to autoexport (when qw(:all) tag is used) 191 @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); 192 193 $SIG{PIPE} = 'IGNORE'; # Do not exit on broken pipes. 194 194 } 195 195 our ( @EXPORT_OK, $VERSION ); … … 412 412 413 413 # Extract arguments. 414 my ($self, %args) = @_;414 my ($self, %args) = @_; 415 415 416 416 # Sanity check: Make sure we've been fed an object. … … 432 432 } 433 433 434 # Drive the generic browser before opening with FF435 $self = $self->SUPER::drive(%args);434 # Drive the generic browser before opening with FF 435 $self = $self->SUPER::drive(%args); 436 436 437 437 # Sanity check: Make sure our next URL is defined. honeyclient/trunk/lib/HoneyClient/Agent/Driver/Browser/IE.pm
r751 r766 155 155 BEGIN { 156 156 157 # Defines which functions can be called externally.158 require Exporter;159 our ( @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION );160 161 # Set our package version.162 $VERSION = 0.97;163 164 # Define inherited modules.165 use HoneyClient::Agent::Driver::Browser;166 167 @ISA = qw(Exporter HoneyClient::Agent::Driver::Browser);168 169 # Symbols to export automatically170 # Note: Since this module is object-oriented, we do *NOT* export171 # any functions other than "new" to call statically. Each function172 # for this module *must* be called as a method from a unique173 # object instance.174 @EXPORT = qw();175 176 # Items to export into callers namespace by default. Note: do not export177 # names by default without a very good reason. Use EXPORT_OK instead.178 # Do not simply export all your public functions/methods/constants.179 180 # This allows declaration use HoneyClient::Agent::Driver::Browser::IE ':all';181 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK182 # will save memory.183 184 # Note: Since this module is object-oriented, we do *NOT* export185 # any functions other than "new" to call statically. Each function186 # for this module *must* be called as a method from a unique187 # object instance.188 %EXPORT_TAGS = ( 'all' => [qw()], );189 190 # Symbols to autoexport (when qw(:all) tag is used)191 @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );192 193 $SIG{PIPE} = 'IGNORE'; # Do not exit on broken pipes.157 # Defines which functions can be called externally. 158 require Exporter; 159 our ( @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION ); 160 161 # Set our package version. 162 $VERSION = 0.97; 163 164 # Define inherited modules. 165 use HoneyClient::Agent::Driver::Browser; 166 167 @ISA = qw(Exporter HoneyClient::Agent::Driver::Browser); 168 169 # Symbols to export automatically 170 # Note: Since this module is object-oriented, we do *NOT* export 171 # any functions other than "new" to call statically. Each function 172 # for this module *must* be called as a method from a unique 173 # object instance. 174 @EXPORT = qw(); 175 176 # Items to export into callers namespace by default. Note: do not export 177 # names by default without a very good reason. Use EXPORT_OK instead. 178 # Do not simply export all your public functions/methods/constants. 179 180 # This allows declaration use HoneyClient::Agent::Driver::Browser::IE ':all'; 181 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK 182 # will save memory. 183 184 # Note: Since this module is object-oriented, we do *NOT* export 185 # any functions other than "new" to call statically. Each function 186 # for this module *must* be called as a method from a unique 187 # object instance. 188 %EXPORT_TAGS = ( 'all' => [qw()], ); 189 190 # Symbols to autoexport (when qw(:all) tag is used) 191 @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); 192 193 $SIG{PIPE} = 'IGNORE'; # Do not exit on broken pipes. 194 194 } 195 195 our ( @EXPORT_OK, $VERSION ); … … 389 389 390 390 # Extract arguments. 391 my ($self, %args) = @_;391 my ($self, %args) = @_; 392 392 393 393 # Sanity check: Make sure we've been fed an object. … … 409 409 } 410 410 411 # Drive the generic browser before opening with IE412 $self = $self->SUPER::drive(%args);411 # Drive the generic browser before opening with IE 412 $self = $self->SUPER::drive(%args); 413 413 414 414 # Sanity check: Make sure our next URL is defined.
