Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the RunKeyRecord path field to string #430

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

pyrco
Copy link
Contributor

@pyrco pyrco commented Oct 31, 2023

The "path" value of a run key is actually a full command. If this command does not have just a path but also things like command parameters, this can not be parsed as a path type.

The field is now treated as a normal string to prevent parse errors and in anticipation of a proper command field type.

(DIS-2563)

@pyrco pyrco requested a review from Poeloe October 31, 2023 18:51
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #430 (f976443) into main (c05fc98) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #430      +/-   ##
==========================================
- Coverage   74.04%   74.04%   -0.01%     
==========================================
  Files         257      257              
  Lines       20551    20550       -1     
==========================================
- Hits        15217    15216       -1     
  Misses       5334     5334              
Flag Coverage Δ
unittests 74.04% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
dissect/target/plugins/os/windows/regf/runkeys.py 58.82% <ø> (-2.29%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pyrco pyrco force-pushed the feature/dis-2563_change_runkeys_path_to_string branch from 33d848c to f976443 Compare November 1, 2023 07:40
@pyrco pyrco requested a review from Poeloe November 1, 2023 07:41
Copy link
Contributor

@Poeloe Poeloe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@pyrco pyrco merged commit 4925e82 into main Nov 1, 2023
@pyrco pyrco deleted the feature/dis-2563_change_runkeys_path_to_string branch November 1, 2023 08:26
The "path" value of a run key is actually a full command. If this
command does not have just a path but also things like command
parameters, this can not be parsed as a path type.

The field is now treated as a normal string to prevent parse errors and
in anticipation of a proper command field type.

(DIS-2563)
Poeloe pushed a commit that referenced this pull request Feb 29, 2024
The "path" value of a run key is actually a full command. If this
command does not have just a path but also things like command
parameters, this can not be parsed as a path type.

The field is now treated as a normal string to prevent parse errors and
in anticipation of a proper command field type.

(DIS-2563)
Zawadidone pushed a commit to Zawadidone/dissect.target that referenced this pull request Apr 5, 2024
The "path" value of a run key is actually a full command. If this
command does not have just a path but also things like command
parameters, this can not be parsed as a path type.

The field is now treated as a normal string to prevent parse errors and
in anticipation of a proper command field type.

(DIS-2563)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants