Changeset 164
- Timestamp:
- 01/19/07 14:24:20 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/mbriggs-db/lib/HoneyClient/Manager/DB.pm
r163 r164 392 392 393 393 my $h_server = { 394 dsn=>'DBI:mysql:mysql;host= localhost',394 dsn=>'DBI:mysql:mysql;host=192.168.0.130', 395 395 username=>'root', 396 396 password=>'' … … 625 625 626 626 my $h_server = { 627 dsn=>'DBI:mysql:database=HoneyClient;host= localhost',627 dsn=>'DBI:mysql:database=HoneyClient;host=192.168.0.130', 628 628 username=>'root', 629 629 password=>'' … … 760 760 761 761 my $h_server = { 762 dsn=>'DBI:mysql:database=HoneyClient;host= localhost',762 dsn=>'DBI:mysql:database=HoneyClient;host=192.168.0.130', 763 763 username=>'root', 764 764 password=>'' … … 1126 1126 1127 1127 my $h_server = { 1128 dsn=>'DBI:mysql:mysql;host= localhost',1128 dsn=>'DBI:mysql:mysql;host=192.168.0.130', 1129 1129 username=>'root', 1130 1130 password=>'' honeyclient/branches/exp/mbriggs-db/t/honeyclient_manager_db.t
r60 r164 41 41 42 42 push @Files, { 43 md5 => '82da9a561687f841a61e752e401471d2',44 sha1 => '7552ad083713e6d6b79539b64d598d4dcadfba35',45 43 path => 'c:\windows\system32', 46 44 name => 'calc.exe', 47 size => 114688, 48 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 49 }; 50 push @Files, { 51 md5 => 'bab513fc028515389eb6b2ad16e35ad2', 52 sha1 => 'c5597928b22d2c49a41510d6ab11d8f19bfab0af', 53 path => 'c:\windows\system32', 45 content => { 46 md5 => '82da9a561687f841a61e752e401471d2', 47 sha1 => '7552ad083713e6d6b79539b64d598d4dcadfba35', 48 size => 114688, 49 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 50 } 51 }; 52 push @Files, { 53 path => 'c:\windows\system32', 54 54 name => 'msgina.dll', 55 size => 994304, 56 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 57 }; 58 push @Files, { 59 md5 => '37564f065866fa7215453e72f1264f4b', 60 sha1 => '7144ee8b57f3fcae6870f452b140365f75b5265c', 55 content => { 56 md5 => 'bab513fc028515389eb6b2ad16e35ad2', 57 sha1 => 'c5597928b22d2c49a41510d6ab11d8f19bfab0af', 58 size => 994304, 59 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 60 } 61 }; 62 push @Files, { 61 63 path => 'c:\windows\system32', 62 64 name => 'drwatson.exe', 63 size => 28112, 64 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 65 content => { 66 md5 => '37564f065866fa7215453e72f1264f4b', 67 sha1 => '7144ee8b57f3fcae6870f452b140365f75b5265c', 68 size => 28112, 69 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 70 } 65 71 }; 66 72 push @RegKeys, { 67 key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', 68 name => 'QuickTime Task', 69 value => '"C:\Program Files\QuickTime\qttask.exe" -atboottime' 73 key_name => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', 74 status => 1, 75 entries => [ 76 { 77 name => 'QuickTime Task', 78 new_val => '"C:\Program Files\QuickTime\qttask.exe" -atboottime' 79 } 80 ] 70 81 }; 71 82 push @Procs, { … … 120 131 121 132 push @Files, { 122 md5 => '82da9a561687f841a61e752e401471d2',123 sha1 => '7552ad083713e6d6b79539b64d598d4dcadfba35',124 133 path => 'c:\windows\system32', 125 134 name => 'calc.exe', 126 size => 114688, 127 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 128 }; 129 push @Files, { 130 md5 => 'bab513fc028515389eb6b2ad16e35ad2', 131 sha1 => 'c5597928b22d2c49a41510d6ab11d8f19bfab0af', 132 path => 'c:\windows\system32', 135 content => { 136 md5 => '82da9a561687f841a61e752e401471d2', 137 sha1 => '7552ad083713e6d6b79539b64d598d4dcadfba35', 138 size => 114688, 139 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 140 } 141 }; 142 push @Files, { 143 path => 'c:\windows\system32', 133 144 name => 'msgina.dll', 134 size => 994304, 135 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 136 }; 137 push @Files, { 138 md5 => '37564f065866fa7215453e72f1264f4b', 139 sha1 => '7144ee8b57f3fcae6870f452b140365f75b5265c', 145 content => { 146 md5 => 'bab513fc028515389eb6b2ad16e35ad2', 147 sha1 => 'c5597928b22d2c49a41510d6ab11d8f19bfab0af', 148 size => 994304, 149 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 150 } 151 }; 152 push @Files, { 140 153 path => 'c:\windows\system32', 141 154 name => 'drwatson.exe', 142 size => 28112, 143 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 155 content => { 156 md5 => '37564f065866fa7215453e72f1264f4b', 157 sha1 => '7144ee8b57f3fcae6870f452b140365f75b5265c', 158 size => 28112, 159 type => 'MS-DOS executable (EXE), OS/2 or MS Windows' 160 } 144 161 }; 145 162 push @RegKeys, { 146 key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', 147 name => 'QuickTime Task', 148 value => '"C:\Program Files\QuickTime\qttask.exe" -atboottime' 163 key_name => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', 164 status => 1, 165 entries => [ 166 { 167 name => 'QuickTime Task', 168 new_val => '"C:\Program Files\QuickTime\qttask.exe" -atboottime' 169 } 170 ] 149 171 }; 150 172 push @Procs, {
