mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-10 08:15:00 -04:00
spelling: executable
This commit is contained in:
parent
f8ea803eb4
commit
db60868001
1 changed files with 1 additions and 1 deletions
|
@ -2463,7 +2463,7 @@ export function extractMZPE(bytes, offset) {
|
||||||
const numSections = stream.readInt(2, "le");
|
const numSections = stream.readInt(2, "le");
|
||||||
|
|
||||||
// Read Optional Header Magic to determine the state of the image file
|
// Read Optional Header Magic to determine the state of the image file
|
||||||
// 0x10b = normal exeuctable, 0x107 = ROM image, 0x20b = PE32+ executable
|
// 0x10b = normal executable, 0x107 = ROM image, 0x20b = PE32+ executable
|
||||||
stream.moveForwardsBy(16);
|
stream.moveForwardsBy(16);
|
||||||
const optionalMagic = stream.readInt(2, "le");
|
const optionalMagic = stream.readInt(2, "le");
|
||||||
const pe32Plus = optionalMagic === 0x20b;
|
const pe32Plus = optionalMagic === 0x20b;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue