Removed timestamp
This commit is contained in:
parent
6b48ee0a48
commit
07c7e69078
@ -4,7 +4,6 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"io"
|
"io"
|
||||||
"time"
|
|
||||||
|
|
||||||
"git.akyoto.dev/cli/q/src/config"
|
"git.akyoto.dev/cli/q/src/config"
|
||||||
"git.akyoto.dev/cli/q/src/dll"
|
"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},
|
Signature: [4]byte{'P', 'E', 0, 0},
|
||||||
Machine: IMAGE_FILE_MACHINE_AMD64,
|
Machine: IMAGE_FILE_MACHINE_AMD64,
|
||||||
NumberOfSections: uint16(NumSections),
|
NumberOfSections: uint16(NumSections),
|
||||||
TimeDateStamp: uint32(time.Now().Unix()),
|
TimeDateStamp: 0,
|
||||||
PointerToSymbolTable: 0,
|
PointerToSymbolTable: 0,
|
||||||
NumberOfSymbols: 0,
|
NumberOfSymbols: 0,
|
||||||
SizeOfOptionalHeader: OptionalHeader64Size,
|
SizeOfOptionalHeader: OptionalHeader64Size,
|
||||||
|
Loading…
Reference in New Issue
Block a user