Changeset 34
- Timestamp:
- 11/29/06 03:58:20 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/bug/42/lib/HoneyClient/Agent/Integrity.pm
r33 r34 816 816 if (-f $foundfile) { 817 817 $g_ex_hash->{$foundfile} = 1; 818 print "\t _recursive_exclude()d $foundfile\n";818 # print "\t _recursive_exclude()d $foundfile\n"; 819 819 } 820 820 } … … 882 882 print "regedit /a \"$self->{clean_reg}$var\" \"$key_to_check\" \n"; 883 883 system("regedit.exe /a \"$self->{clean_reg}$var\" \"$key_to_check\""); 884 # XXX: We touch the current and differences files first, even though they are empty. 885 # This is to make sure that these files get properly excluded during filesystem initialization, 886 # since they would not have existed otherwise, until after a registry check occurs. 887 system("touch \"$self->{current_reg}$var\""); 888 system("touch \"$self->{diffs}$var\""); 884 889 $var++; 885 890 }
