mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-03 21:29:23 +00:00
[PR #297] [MERGED] Update SecuROM v7 detection to correctly handle a partly stripped header #462
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SabreTools/BinaryObjectScanner/pull/297
Author: @CookiePLMonster
Created: 4/4/2024
Status: ✅ Merged
Merged: 4/4/2024
Merged by: @mnadareski
Base:
master← Head:securom-v7-fix📝 Commits (1)
93d9eafUpdate SecuROM v7 detection to correctly handle a partly stripped header📊 Changes
1 file changed (+26 additions, -17 deletions)
View changed files
📝
BinaryObjectScanner/Protection/SecuROM.cs(+26 -17)📄 Description
Executable mentioned in https://github.com/SabreTools/BinaryObjectScanner/issues/142 had a
.securomsection, but the extended MS-DOS header has been stripped. Therefore, BOS threw an exception when analyzing that file insideGetV7Version.Added a range check to the function and treated its failure as "remnants" of SecuROM - because we know SecuROM was there, but we don't know what exact version.
Fixes #142.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.