Why does Windows executable get corrupted when I remove part of the code?

When I remove bytes from an .exe, I get a "This app can't run on your PC" error. This also causes the icon to not display.

When I replace the same bytes with 00, there is no error.

Do I need to declare that I changed the size of the file somewhere?

submitted by /u/The_Archlich
[link] [comments]

from hacking: security in practice https://ift.tt/ZRmKDzA

Comments