MISC - 小猪佩奇 xp0int Posted on Jun 6 2021 binwalk -Me pig.gif 可以获得一个压缩文件,需要密码打开 ![enter image description here](https://leanote.com/api/file/getImage?fileId=60af473eab644158ab000741) 把gif每帧拆分出来 ![enter image description here](https://leanote.com/api/file/getImage?fileId=60af474eab644158ab000745) 找第一帧和其他帧的不同像素点,然后组合,可以得到一张二维码,识别结果是JUZFU2C2NJTTETKUKF3Q====,base32再base64解码 ```python from PIL import Image img1 = Image.open(f"frame1.bmp") res = Image.new("1", (650, 650)) for k in range(2, 26): img2 = Image.open(f"frame{k}.bmp") for i in range(650): for j in range(650): if img1.getpixel((i, j)) != img2.getpixel((i, j)): res.putpixel((i,j), 255) res.show() ``` ![enter image description here](https://leanote.com/api/file/getImage?fileId=60af4778ab644158ab000748) ![enter image description here](https://leanote.com/api/file/getImage?fileId=60af4788ab64415aa6000756) 3faf86140就是压缩包密码,解压可得一张图,猪圈密码解密即可 ![enter image description here](https://leanote.com/api/file/getImage?fileId=60af4795ab64415aa6000758) 打赏还是打残,这是个问题 赏 Wechat Pay Alipay PWN - BabyNote & BabyNote_revenge MISC - 查看流量出错
没有帐号? 立即注册