Add files via upload

This commit is contained in:
2025-02-13 18:37:59 -05:00
committed by GitHub
parent 634b353ebb
commit a617f59a99
16 changed files with 434 additions and 0 deletions

16
splog.py Normal file
View File

@ -0,0 +1,16 @@
# Decrypt C:\Windows\System32\spsys.log from Windows 7
# Can be used to trace functions executed in spsys
from Crypto.Cipher import AES
from struct import unpack
aeskey = bytes([0x5B, 0x68, 0x49, 0x25, 0x79, 0x7B, 0x81, 0xFE, 0x5C, 0x44, 0x1B, 0x08, 0x2B, 0xEA, 0xEC, 0x4E])
log_data = b""
with open("spsys.log", "rb") as f:
aes = AES.new(aeskey, AES.MODE_ECB)
log_data = aes.decrypt(f.read()[0x28:])
with open("spsys_log_d.bin", "wb") as f:
f.write(log_data)