Skip to content

Commit

Permalink
Update decode.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smallfawn authored Jun 28, 2024
1 parent ecb255a commit c2c64f8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
import zlib
import lzma
import gzip
from datetime import datetime

# 获取当前日期和时间
now = datetime.now()

# 将日期和时间格式化为字符串
formatted_date = now.strftime("%Y-%m-%d %H:%M:%S")


def try_decompress(data):
Expand Down Expand Up @@ -87,6 +94,6 @@ def decrypt_nested(data):

# 输出最终解密结果
print("最终解密结果:")
print(final_decrypted_data)
with open("./input.py", 'wb') as f:
print("#"+formatted_date + "\n"+final_decrypted_data)
with open("./onput.py", 'wb') as f:
f.write(final_decrypted_data)

0 comments on commit c2c64f8

Please sign in to comment.