Skip to content

Instantly share code, notes, and snippets.

View computerfan's full-sized avatar
🤔

computerfan computerfan

🤔
View GitHub Profile
@computerfan
computerfan / pjsk_deobfus.py
Created October 21, 2020 06:47
pjsk_deobfus
# project sekai资源头文件反混淆。直接扔到资源文件根目录运行。
import os
def deobfus_asset(input, output):
with open(input, 'rb') as f:
if f.read(4) == b'\x10\x00\x00\x00':
with open(output, 'wb') as out:
for i in range(128):
d = f.read(1)