CTFSHOW_你会异或吗

Island_Neo / 2023-08-31 / 原文

Python文件操作

python安装(vscode)

在VSCode中选择Python解释器的方法

vscode settings.json设置

file = open("misc5.png", "rb")
content = file.read()
with open("flag.png", "wb") as a:
    for contents in content:
        a.write(bytes([contents ^ 0x50]))