Conversation
2bbe2e1 to
4398a0c
Compare
Schamper
requested changes
Jan 13, 2026
docs/source/tools/rdump.rst
Outdated
|
|
||
| $ rdump services.rec -w services.rec.out | ||
|
|
||
| If no ``-w`` argument is provided, ``rdump`` writes the records to standard output in its default line-based format. |
Member
There was a problem hiding this comment.
Suggested change
| If no ``-w`` argument is provided, ``rdump`` writes the records to standard output in its default line-based format. | |
| If no ``-w`` argument is provided, ``rdump`` writes the records to standard output. If standard output is a TTY, ``rdump`` will output in its default line-based format. If standard output is a pipe (``rdump | xxd``), it will be in its default serialized format. |
Or something like that.
Member
There was a problem hiding this comment.
This is actually not true anymore. We have changed this behavior in rdump as we found that people wanted to grep the line based output which otherwise you would grep on the binary serialized data.
The default of rdump is always text based if -w is not specified. If you want the serialized output (pipe it to another rdump process for example) you have to use -w -.
yunzheng
requested changes
Jan 16, 2026
Comment on lines
+19
to
+22
| .. code-block:: console | ||
|
|
||
| $ rdump <source> -w output.rec.gz | ||
|
|
Member
There was a problem hiding this comment.
Suggested change
| .. code-block:: console | |
| $ rdump <source> -w output.rec.gz | |
| .. code-block:: console | |
| $ rdump <source> -w output.rec.gz | |
| This will write the records to ``output.rec.gz`` in the default record stream format, compressed with gzip. |
docs/source/tools/rdump.rst
Outdated
Comment on lines
+143
to
+144
| When the ``-w`` argument is omitted, ``rdump`` sends records to standard output. | ||
| The output format adapts to the destination: a human-readable, line-based format for terminals (TTYs), and a serialized format when piped to another command (e.g., ``rdump | xxd``). |
Member
There was a problem hiding this comment.
Suggested change
| When the ``-w`` argument is omitted, ``rdump`` sends records to standard output. | |
| The output format adapts to the destination: a human-readable, line-based format for terminals (TTYs), and a serialized format when piped to another command (e.g., ``rdump | xxd``). | |
| When the ``-w`` argument is omitted, ``rdump`` prints the string representation of the records to standard output, which is useful for piping to tools like ``grep`` or ``less``. | |
| If you want to output the record output to another ``rdump`` process you need to use ``-w -``, which will write the records in binary stream format to standard output. | |
| For example, you can chain ``rdump`` with common Linux command-line tools to analyze records. In this example, we extract image paths from a record source, sort them, count occurrences, and display the top 5 most common paths: | |
| .. code-block:: console | |
| $ rdump services.rec -w - | rdump -f "{imagepath}" | sort | uniq -c | sort -rn | head -n 5 | |
| [reading from stdin] | |
| 104 %SystemRoot%\system32\svchost.exe | |
| 71 %SystemRoot%\System32\svchost.exe | |
| 28 %systemroot%\system32\svchost.exe | |
| 12 None | |
| 3 %SystemRoot%\system32\lsass.exe | |
Comment on lines
+68
to
+69
| You can get a full list of available adapters by running ``rdump --list-adapters``. | ||
|
|
Member
There was a problem hiding this comment.
Suggested change
| You can get a full list of available adapters by running ``rdump --list-adapters``. | |
| You can get a full list of available adapters by running ``rdump --list-adapters``. | |
| Some adapters require extra dependencies, which will be shown in this output as well. |
yunzheng
approved these changes
Jan 23, 2026
Schamper
approved these changes
Jan 23, 2026
This was
linked to
issues
Jan 29, 2026
andreia-oca
pushed a commit
to andreia-oca/dissect-docs
that referenced
this pull request
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.