ctf之双色块

avatar
作者
筋斗云
阅读量:0

题目为out.gif

用随波逐流分解gif

脚本python2

#!/usr/bin/env python2 # -*- coding: utf-8 -*-  import os from PIL import Image  def main():     png_dir = r'D:\AAAbiwu\jingzhizhuanhuan\gif\frames'     ret = ""      for i in range(0, 24):         line = ""         for j in range(0, 24):             file_name = os.path.join(png_dir, str(i * 24 + j + 1) + ".png")             if not os.path.exists(file_name):                 print("File not found: {}".format(file_name))                 continue              x = j * 10 + 5             y = i * 10 + 5              try:                 img = Image.open(file_name)                 img = img.convert

    广告一刻

    为您即时展示最新活动产品广告消息,让您随时掌握产品活动新动态!