CTFSHOW_你会异或吗

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]))

 

posted @ 2023-08-31 16:39  Island_Neo  阅读(100)  评论(0)    收藏  举报