Skip to content

Conversation

@HeroponRikiBestest
Copy link
Contributor

My hexalock disc has mfint.dll in a different section of PE. This PR causes it to be detected where it wasn't before. Some of Morlit's discs also weren't detecting, likely for similar reasons, but I have still yet to get to those.

Improve code with sabre's code suggestion

Co-authored-by: Matt Nadareski <[email protected]>
@HeroponRikiBestest
Copy link
Contributor Author

Added suggested fix. Sorry, I didn't know the section name checks were case sensitive.

@HeroponRikiBestest
Copy link
Contributor Author

HeroponRikiBestest commented Dec 29, 2024

This gets an instance where it wasn't flagged in a UPX executable. Is it alright to check UPX1 section strings? I'll roll it back if it isn't, dunno if doing string checks on UPX executables has issues in any scenarios.

@mnadareski
Copy link
Collaborator

This gets an instance where it wasn't flagged in a UPX executable. Is it alright to check UPX1 section strings? I'll roll it back if it isn't, dunno if doing string checks on UPX executables has issues in any scenarios.

If you found it in the section and it's consistent, then add it. Otherwise, omit it.

@HeroponRikiBestest
Copy link
Contributor Author

Alright. It is consistent and does work, so there's no problem, then

@mnadareski mnadareski merged commit 5f5dc7d into SabreTools:master Dec 29, 2024
1 check passed
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