From 07c7e6907874c2b93ac165efa0a70149cbef64e3 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 19 Aug 2024 18:20:52 +0200 Subject: [PATCH] Removed timestamp --- src/exe/pe/EXE.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/exe/pe/EXE.go b/src/exe/pe/EXE.go index 676f5f0..6b2c5df 100644 --- a/src/exe/pe/EXE.go +++ b/src/exe/pe/EXE.go @@ -4,7 +4,6 @@ import ( "bytes" "encoding/binary" "io" - "time" "git.akyoto.dev/cli/q/src/config" "git.akyoto.dev/cli/q/src/dll" @@ -103,7 +102,7 @@ func Write(writer io.Writer, code []byte, data []byte, dlls dll.List) { Signature: [4]byte{'P', 'E', 0, 0}, Machine: IMAGE_FILE_MACHINE_AMD64, NumberOfSections: uint16(NumSections), - TimeDateStamp: uint32(time.Now().Unix()), + TimeDateStamp: 0, PointerToSymbolTable: 0, NumberOfSymbols: 0, SizeOfOptionalHeader: OptionalHeader64Size,