mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-13 13:45:57 +00:00
Seek to beginning of stream for CExe
This commit is contained in:
@@ -65,6 +65,7 @@ namespace BinaryObjectScanner.Packer
|
||||
try
|
||||
{
|
||||
// Parse into an executable again for easier extraction
|
||||
stream?.Seek(0, SeekOrigin.Begin);
|
||||
var pex = PortableExecutable.Create(stream);
|
||||
if (pex == null)
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user