Changeset 164

Show
Ignore:
Timestamp:
01/19/07 14:24:20 (2 years ago)
Author:
kindlund
Message:

Integration testing.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/mbriggs-db/lib/HoneyClient/Manager/DB.pm

    r163 r164  
    392392 
    393393    my $h_server = { 
    394             dsn=>'DBI:mysql:mysql;host=localhost', 
     394            dsn=>'DBI:mysql:mysql;host=192.168.0.130', 
    395395            username=>'root', 
    396396            password=>'' 
     
    625625 
    626626    my $h_server = { 
    627         dsn=>'DBI:mysql:database=HoneyClient;host=localhost', 
     627        dsn=>'DBI:mysql:database=HoneyClient;host=192.168.0.130', 
    628628        username=>'root', 
    629629        password=>'' 
     
    760760 
    761761    my $h_server = { 
    762         dsn=>'DBI:mysql:database=HoneyClient;host=localhost', 
     762        dsn=>'DBI:mysql:database=HoneyClient;host=192.168.0.130', 
    763763        username=>'root', 
    764764        password=>'' 
     
    11261126 
    11271127    my $h_server = { 
    1128             dsn=>'DBI:mysql:mysql;host=localhost', 
     1128            dsn=>'DBI:mysql:mysql;host=192.168.0.130', 
    11291129            username=>'root', 
    11301130            password=>'' 
  • honeyclient/branches/exp/mbriggs-db/t/honeyclient_manager_db.t

    r60 r164  
    4141     
    4242    push @Files, { 
    43         md5  => '82da9a561687f841a61e752e401471d2', 
    44         sha1 => '7552ad083713e6d6b79539b64d598d4dcadfba35', 
    4543        path => 'c:\windows\system32', 
    4644        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', 
    5454        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, { 
    6163        path => 'c:\windows\system32', 
    6264        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        } 
    6571    }; 
    6672    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        ] 
    7081    }; 
    7182    push @Procs, { 
     
    120131     
    121132    push @Files, { 
    122         md5  => '82da9a561687f841a61e752e401471d2', 
    123         sha1 => '7552ad083713e6d6b79539b64d598d4dcadfba35', 
    124133        path => 'c:\windows\system32', 
    125134        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', 
    133144        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, { 
    140153        path => 'c:\windows\system32', 
    141154        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        } 
    144161    }; 
    145162    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        ] 
    149171    }; 
    150172    push @Procs, {