Update decode.py

This commit is contained in:
smallfawn
2024-06-28 14:25:22 +08:00
committed by GitHub
parent 698519f265
commit 5434c78fc4

View File

@@ -76,7 +76,7 @@ def decrypt_nested(data):
return new_data # 返回最终解密后的数据 return new_data # 返回最终解密后的数据
with open('../input.py', 'r') as file: with open('./input.py', 'r') as file:
# 读取文件内容 # 读取文件内容
content = file.read().strip() content = file.read().strip()
# 打印内容 # 打印内容
@@ -88,5 +88,5 @@ final_decrypted_data = decrypt_nested(encoded_data)
# 输出最终解密结果 # 输出最终解密结果
print("最终解密结果:") print("最终解密结果:")
print(final_decrypted_data) print(final_decrypted_data)
with open("../input.py", 'wb') as f: with open("./input.py", 'wb') as f:
f.write(final_decrypted_data) f.write(final_decrypted_data)