![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Yesterday's SANS Internet Storm Center Diary mentioned a Secunia advisory about a vulnerability in regedit and regedt32. Entries longer than 256 characters are not displayed by either of these tools. Malicious code could insert registry entries which could not be found with either of these tools. The diary entry points out the problems if one of these added keys, say, autoran some malware at startup. The following code messes with your Windows Registry. USE AT YOUR OWN RISK The first program demonstrates this bug:
The next one recursively searches a provided registry tree for overlong keys and asks how to deal with them:
Both tested in Activestate Perl 5.8.6 The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. -- Cyrus H. Gordon In reply to Finding Hidden Keys in Your Windows Registry by idsfa
|
|