下载下来图片,刚开始还好奇221B是什么16进制,点开图片就明白了。
stegsolve没发现什么异常。
binwalk扫描出有一个zlib
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 PNG image, 2856 x 4284, 8-bit/color RGB, non-interlaced
62 0x3E Zlib compressed data, compressed
7693403 0x75645B Zlib compressed data, default compression
提取出来后是841个由0和1组成的字符串。
很容易联想到可能是29*29的二维码。
写出脚本:
from PIL import Image
qr_code = "1111111000100100110000111111110000010011011110010101000001101110100111010011010010111011011101000000111011110101110110111010010111101110001011101100000101110111000010010000011111111010101010101010111111100000000011100100110100000000100101101110000101010101000001101000011101011011011100101000001110010010001111011110010001100000101101100111111001010110101101110000100011110100110001001100010010101110000111111111110010100110101001111110010110001100110111110111000110011110010001111001110000100011010000110100100000001011001010101101110100011011010011100011101001111011111000101001101101101100101010001111101000000000011101101101010001011011111110000011110000101011010100000101011110010101000101101011101001010011001011111001010111010110101111000001101001101110100101010000010100111011000001000011101000011001001011111110100100100000111100110"
im=Image.new("RGB",(29,29))
count=0
for i in range(29):
for j in range(29):
if qr_code[count] == '1':
im.putpixel((i,j),(0,0,0))
else:
im.putpixel((i,j),(255,255,255))
count+=1
im.resize((im.width*2,im.height*2))
im.save('exp.png')
生成二维码,但是不知道为什么只有微信可以扫。