01 2018 档案

python用模块zlib压缩与解压字符串和文件的方法
摘要:摘自:http://www.jb51.net/article/100218.htm Python标准模块中,有多个模块用于数据的压缩与解压缩,如zipfile,gzip, bz2等等。 python中zlib模块是用来压缩或者解压缩数据,以便保存和传输。它是其他压缩工具的基础。下面来一起看看pyth 阅读全文

posted @ 2018-01-11 04:38 gwind 阅读(946) 评论(0) 推荐(0)

IDA-IDC脚本编写语法
摘要:1、IDA脚本编写基础 IDC是IDA内置的脚本语言,其语法与C非常相似,它是一种解释性语言。 执行方法 在IDA中按SHIFT+F2键会弹出一个对话框,把语句直接写在对话框中,点击run就可被运行。 在菜单栏中File | Script file载入idc文件。 在IDA中按SHIFT+F2键会弹 阅读全文

posted @ 2018-01-09 12:22 gwind 阅读(3334) 评论(0) 推荐(1)

南邮CTF密码学,mixed_base64
摘要:# -*- coding:utf-8 -*- from base64 import * flag = open("code.txt").readline() # 读取密文 for i in range(10): pointer = 0 try: temp = b16decode(flag) except TypeError: poi... 阅读全文

posted @ 2018-01-07 20:20 gwind 阅读(703) 评论(0) 推荐(0)

各种类型文件头标准编码
摘要:JPEG (jpg),文件头:FF D8 FF PNG (png),文件头:89 50 4E 47 【参考:png文件头详解】89 50 4e 47 0d 0a 1a 0a GIF (gif),文件头:47 49 46 38 Windows Bitmap (bmp),文件头:42 4D [参考:bmp文件格式详解]42 4D 36 0C 30 00 00 00 00 00 36 00 0... 阅读全文

posted @ 2018-01-06 23:47 gwind 阅读(22484) 评论(0) 推荐(1)

实验吧,心中无码
摘要:产生的二维码,可用http://www.cnblogs.com/gwind/p/8030190.html的二维码解码,得到一个base64编码,解码后即可得到flag 阅读全文

posted @ 2018-01-06 17:26 gwind 阅读(1582) 评论(0) 推荐(0)

IDA 宏定义
摘要:/* This file contains definitions used by the Hex-Rays decompiler output. It has type definitions and convenience macros to make the output more readable. Copyright (c) 2007-2011 Hex-Rays... 阅读全文

posted @ 2018-01-03 22:43 gwind 阅读(2236) 评论(0) 推荐(0)

导航