Guido Diepen
2007-12-05 16:12:47 UTC
Hi,
the supplied patch is against the current SVN (3074) as mentioned in the file.
I think there was a bug in the rapi_buffer_read_string. It would always read
one more byte then the actual size of the letters, to ensure a \0 terminator.
Unfortunately, with the EnumKey this always went ok, with the EnumValue that
is now implemented, more data was behind the string, resulting in an
unterminated string and problems with reading the later values.
Furthermore, I updated the synce-registry tool to make a complete dump of the
registry to screen. This takes about 4.5 minutes on my machine and the
resulting file with all information is about 1.3 MB
Two options have been added to synce-registry: -D and -L
synce-registry -D
does a complete dump of the registry
the -L option turns on recursion for key_listing, meaning you can do a
recursive dump of only HKLM\Software\Microsoft by:
synce-registry -l HKLM "Software\Microsoft" -L
(to avoid the 4.5 minutes all of the time :) )
Hope the supplied patch is useful for everybody.
Regards,
Guido Diepen
the supplied patch is against the current SVN (3074) as mentioned in the file.
I think there was a bug in the rapi_buffer_read_string. It would always read
one more byte then the actual size of the letters, to ensure a \0 terminator.
Unfortunately, with the EnumKey this always went ok, with the EnumValue that
is now implemented, more data was behind the string, resulting in an
unterminated string and problems with reading the later values.
Furthermore, I updated the synce-registry tool to make a complete dump of the
registry to screen. This takes about 4.5 minutes on my machine and the
resulting file with all information is about 1.3 MB
Two options have been added to synce-registry: -D and -L
synce-registry -D
does a complete dump of the registry
the -L option turns on recursion for key_listing, meaning you can do a
recursive dump of only HKLM\Software\Microsoft by:
synce-registry -l HKLM "Software\Microsoft" -L
(to avoid the 4.5 minutes all of the time :) )
Hope the supplied patch is useful for everybody.
Regards,
Guido Diepen
--
Aviation is proof that given the will, we have the
capacity to achieve the impossible.
--Eddie Rickenbacker
Aviation is proof that given the will, we have the
capacity to achieve the impossible.
--Eddie Rickenbacker