Displaying 20 results from an estimated 4000 matches similar to: "[PATCH] hivexsh: Add missing documentation for -u switch"
2017 Feb 16
6
[PATCH v4 0/5] hivex: handle corrupted hives better.
The following patches address issues when dealing with hives that have
corrupted data in them but are otherwise readable/writable. Those were
found on some rather rare Windows installations that seem to work fine
but current hivex fails to even open.
Those patches change hivex to simply log and ignore such "corrupted"
regions instead of aborting because the caller might be looking at
2017 Jul 14
2
[hivex PATCH 1/2] hivexregedit: fix POD markup
Put the "=back" to close the list only after the last element.
---
regedit/hivexregedit | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/regedit/hivexregedit b/regedit/hivexregedit
index 02c382b..cd49063 100755
--- a/regedit/hivexregedit
+++ b/regedit/hivexregedit
@@ -248,8 +248,6 @@ You should only use this option for quick hacking and debugging of the
hive
2010 Feb 05
13
[PATCH 01/14] hivexsh: Document some peculiarities of the "cd" command.
---
hivex/hivexsh.pod | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/hivex/hivexsh.pod b/hivex/hivexsh.pod
index 277e3ae..9336798 100644
--- a/hivex/hivexsh.pod
+++ b/hivex/hivexsh.pod
@@ -100,7 +100,14 @@ or even:
Path elements (node names) are matched case insensitively, and
characters like space, C<*>, and C<?> have I<no> special
2013 Oct 04
2
Re: Hivex - Trailing garbage at the end of hive file
(Resending since my message from 2 days ago didn't make it to the list.
Perhaps because of the log file attachment)
Hi Rich,
Sorry about the delayed response. I understand that since hive formats are
not open, the current tack of warning about the hive file is a better one
To respond to you question about "whether it fails", hivexsh is unable to
open the hive file and it prints
2013 Jun 19
2
[PATCH] Relax size checks for integer types
I recenetly came across a Windows XP image, where one REG_QWORD value
(HKLM\Software\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0\0\ExecTime)
would be displayed by hivexsh but hivex_value_qword() would return -1.
It turned out that the data length of this value was 16 bytes instead
of 8.
There is no problem in simply interpreting the first 4 (DWORD) or
8 (QWORD)
2010 Apr 02
1
hivex: pod2html complaints
Whilst building hivex I'm seeing warnings/errors for the documentation:
pod2html complaints:
/usr/bin/pod2html: sh/hivexsh.pod: unknown pod directive 'encoding' in
paragraph 1. ignoring.
/usr/bin/pod2html: sh/hivexsh.pod: cannot resolve L<hivex(3)> in paragraph 8.
/usr/bin/pod2html: sh/hivexsh.pod: cannot resolve L<virt-cat(1)> in paragraph 8.
/usr/bin/pod2html:
2011 Feb 26
3
hivex: some issues (key encoding, ...) and suggested fixes
Hi,
libhivex seems to do a great job at parsing hives most of the time, but
there are some issues with a few registry keys.
These can be worked around in the application that uses libhivex, but I
think it'd be better if libhivex handled these itself.
1. UTF16 string in REG_SZ that has garbage after the \0\0
There is code in hivex.c to handle this already but I think it has a typo:
/*
2013 Sep 24
3
Re: Hivex - Trailing garbage at the end of hive file
Is there a reason why a previous version of hivex ignored this condition
while more recent ones throw an error?
I do have some hive files that are failing (I'm yet to validate if they
are good or were corrupted some other way). I will do so and share my
findings
Thanks
~ Hari
On 9/24/13 5:20 PM, "Richard W.M. Jones" <rjones@redhat.com> wrote:
>On Tue, Sep 24, 2013 at
2012 Aug 28
1
[PATCH hivex 1/2] maint: avoid some syntax-check test failures
Hi Rich,
I've updated hivex to use the latest from gnulib
and fixed a few syntax-check failures.
With these changes, almost all of "make distcheck" succeeds.
(details coming separately)
>From c6300c44a1eda1a55a23249fde94882ea5a1c430 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Tue, 28 Aug 2012 11:28:40 +0200
Subject: [PATCH hivex 1/2] maint:
2014 Nov 20
2
Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
Thanks for providing the SOFTWARE and SYSTEM hives. Firstly the
SOFTWARE hive has an unusually large 'nk' node, which required me to
increase one of the limits in hivex:
https://github.com/libguestfs/hivex/commit/bec3f0bb632c4b84a1dfb73eb6333c2ba9834ffb
The SYSTEM hive was even more interesting:
$ hivexsh system
Welcome to hivexsh, the hivex interactive shell for examining
2018 Feb 26
0
ANNOUNCE: hivex - read and write Windows Registry hives - version 1.3.15 released
Hivex is a small, self-contained C library for reading and writing
Windows Registry "hive" binary files.
I'm pleased to announce version 1.3.15 which you can get from:
http://download.libguestfs.org/hivex/
Highlights of this release:
- Improved performance by using a cache of iconv handles, especially
when dumping out large hives (Hilko Hengen).
- Add the ‘hivexregedit
2017 Jul 11
0
[PATCH] hivexml: Add -u flag for HIVEX_OPEN_UNSAFE
---
xml/hivexml.c | 5 ++++-
xml/hivexml.pod | 7 +++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/xml/hivexml.c b/xml/hivexml.c
index b496bb6..8ba6594 100644
--- a/xml/hivexml.c
+++ b/xml/hivexml.c
@@ -95,7 +95,7 @@ main (int argc, char *argv[])
int open_flags = 0;
int visit_flags = 0;
- while ((c = getopt (argc, argv, "dk")) != EOF) {
+ while ((c =
2014 Jan 14
2
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
Hi Hilko,
Thanks a lot for creating this test hive!
I think another thing that will trip up Registry programs is value names
that include back slashes. For example, under the System hive, the key
"\MountedDevices" has child values with names like "\DosDevices\C:" (the
leading backslash is a part of the value name). There are many other
values that include backslashes. I
2011 Jun 28
13
[PATCH hivex 02/14] maint: remove unnecessary test-before-free
From: Jim Meyering <meyering at redhat.com>
* lib/hivex.c (hivex_node_set_value): Remove unnecessary
test-before-free.
---
lib/hivex.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/lib/hivex.c b/lib/hivex.c
index d042f4f..a72fa77 100644
--- a/lib/hivex.c
+++ b/lib/hivex.c
@@ -2748,8 +2748,7 @@ hivex_node_set_value (hive_h *h, hive_node_h node,
leave_partial:
2011 Sep 07
1
[PATCH] hivexsh: Conditionally build for Mac OS X
OS X lacks open_memstream, causing hivexsh to fail to build. This patch
defines HAVE_HIVEXSH, setting the only condition to open_memstream
existence.
Signed-off-by: Alex Nelson <ajnelson at cs.ucsc.edu>
---
Makefile.am | 6 +++++-
configure.ac | 4 ++++
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 8d69c55..dbab38a 100644
---
2013 Jun 25
2
Re: [PATCH] Add read support for "big data" blocks to hivex
* Richard W.M. Jones:
> diff --git a/lib/hivex.c b/lib/hivex.c
> index e3c1e05..9351ac5 100644
> --- a/lib/hivex.c
> +++ b/lib/hivex.c
> @@ -1471,7 +1471,7 @@ hivex_value_value (hive_h *h, hive_value_h value,
> if (h->msglvl >= 2)
> fprintf (stderr, "hivex_value_value: warning: big data block is not "
> "valid
2010 Feb 03
12
[PATCH 0/12] Add support for writing to hive files
This patch series adds support for some simple operations on hive
files, and I've now tested and verified that those operations work
correctly.
All except for the last patch (12/12) are ready to be committed. The
last patch is WIP.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
2017 Dec 29
2
[PATCH 0/1] hivexregedit: add --max-depth option for exports
This new option allows you to only export what you care about
from a registry hive by specifying a max recursion depth.
Michael Meyer (1):
hivexregedit: add --max-depth option for exports
perl/lib/Win/Hivex/Regedit.pm | 14 ++++++++++++--
regedit/hivexregedit | 18 +++++++++++++++++-
2 files changed, 29 insertions(+), 3 deletions(-)
--
2.14.3 (Apple Git-98)
2013 Oct 04
2
Re: Hivex - Trailing garbage at the end of hive file
Rich,
Our workflow is something like this:
0. Start with a fresh copy of windows server 2k8
1. We read the system hive and then write to it a bunch of times
2. Boot windows
3. Read from the system hive
Hivex reports the failure at step #3. I also noticed that the size of the
registry hive observed in step #3 is the same as step #0. Is it possible
that hivex issues write that cause a hive file
2017 Dec 29
0
[PATCH 1/1] hivexregedit: add --max-depth option for exports
---
perl/lib/Win/Hivex/Regedit.pm | 14 ++++++++++++--
regedit/hivexregedit | 18 +++++++++++++++++-
2 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/perl/lib/Win/Hivex/Regedit.pm b/perl/lib/Win/Hivex/Regedit.pm
index 355699e..34426f1 100644
--- a/perl/lib/Win/Hivex/Regedit.pm
+++ b/perl/lib/Win/Hivex/Regedit.pm
@@ -487,11 +487,12 @@ sub reg_export
{
my $h = shift;