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

fix extractions and improve language_strings_missed contents #901

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

mr-tz
Copy link
Collaborator

@mr-tz mr-tz commented Nov 10, 2023

Various fixes including to update language_strings_missed to only include strings from the range (e.g. .rdata section for Rust or the strings blob in Go) that may have been missed during extraction.

This renders language strings separately from static strings. Language strings are part of static strings and it's currently not possible to display them individually. This can be added later, if desired.

closes #875
closes #900

@mr-tz mr-tz force-pushed the update-result-json branch from 9c8e9e6 to c80c0a4 Compare November 10, 2023 11:21
@mr-tz mr-tz requested a review from Arker123 November 10, 2023 13:37
Comment on lines +143 to +144
if not re.sub(r"[\r\n\t]", "", decoded_string).isprintable():
raise ValueError("not printable")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we've had something similar before and removed it, during my testing this was helpful though

@mr-tz mr-tz force-pushed the update-result-json branch from 7ff4a51 to 801559a Compare November 12, 2023 14:37
@mr-tz mr-tz merged commit d5662cd into mandiant:master Nov 13, 2023
19 checks passed
@mr-tz mr-tz deleted the update-result-json branch November 13, 2023 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants