mirror of
https://github.com/smallfawn/decode_action.git
synced 2025-12-21 01:05:05 +08:00
Update decode.py
This commit is contained in:
@@ -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("output.py", 'wb') as f:
|
with open("../input.py", 'wb') as f:
|
||||||
f.write(final_decrypted_data)
|
f.write(final_decrypted_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user