Revert "pefixup: Add timestamps to PE fixup step"
This reverts commit 74a40b17aa
.
To prevent people from running Destiny 2 so they won't get banned.
This commit is contained in:
parent
f52e7c9cb1
commit
2a79f04f67
1 changed files with 0 additions and 2 deletions
|
@ -13,8 +13,6 @@ for path in sys.argv[1:]:
|
||||||
section.Characteristics &= ~pefile.SECTION_CHARACTERISTICS['IMAGE_SCN_CNT_INITIALIZED_DATA']
|
section.Characteristics &= ~pefile.SECTION_CHARACTERISTICS['IMAGE_SCN_CNT_INITIALIZED_DATA']
|
||||||
section.Characteristics &= ~pefile.SECTION_CHARACTERISTICS['IMAGE_SCN_ALIGN_MASK']
|
section.Characteristics &= ~pefile.SECTION_CHARACTERISTICS['IMAGE_SCN_ALIGN_MASK']
|
||||||
|
|
||||||
pe.FILE_HEADER.TimeDateStamp = 1622588288
|
|
||||||
|
|
||||||
pe.OPTIONAL_HEADER.CheckSum = pe.generate_checksum()
|
pe.OPTIONAL_HEADER.CheckSum = pe.generate_checksum()
|
||||||
|
|
||||||
perm = stat.S_IMODE(os.stat(path).st_mode)
|
perm = stat.S_IMODE(os.stat(path).st_mode)
|
||||||
|
|
Loading…
Reference in a new issue