摘要: IDA打开。Main()函数就是关键算法 v6,v7,v8 是连续的 。可看成 L=[16,32,48]。输入的name每位分别于L[]异或 得到的值存在v13。然后清空v9的值 ,输入Serial储存在v9 再让v13与v9比较。 可还原算法: #!usr/bin/env python #!cod 阅读全文
posted @ 2017-03-04 11:09 Zhengjim 阅读(877) 评论(0) 推荐(0) 编辑
摘要: 题目:http://reversing.kr/ Easy Crack IDA打开。分析可知Sub_401080是关键函数。F5后。 当满足 则跳转成功。拼接后得到flag flag: Ea5yR3versing 阅读全文
posted @ 2017-02-28 15:10 Zhengjim 阅读(783) 评论(0) 推荐(0) 编辑
摘要: 今天看了兄弟连php里面的冒泡排序与快速排序,想了下应该可以用python实现。 冒泡排序函数: def mysort(x): len1 = len(x) for i in range(len1-1,0,-1): for j in range(0,i): if x[j]>x[j+1]: x[j],x 阅读全文
posted @ 2016-12-23 17:59 Zhengjim 阅读(1249) 评论(0) 推荐(0) 编辑
摘要: 题目:http://ctf.idf.cn/index.php?g=game&m=article&a=index&id=50 题目提示要爆破,代表加密应该是不可逆的。 密文:4D1FAE0B 只有八个字符。容易猜测是CRC32加密的。 python有直接可以用的模块binascii py代码: #!u 阅读全文
posted @ 2016-12-02 20:47 Zhengjim 阅读(570) 评论(0) 推荐(0) 编辑
摘要: 题目:http://ctf.idf.cn/index.php?g=game&m=article&a=index&id=39 下载得到ElfCrackMe1文件,直接用IDA打开。 最早想到的是 function一路F5下去。可以看到关键的main函数 int __cdecl main(int arg 阅读全文
posted @ 2016-12-02 19:35 Zhengjim 阅读(5025) 评论(0) 推荐(0) 编辑
摘要: 题目下载了一个+_+.pcapng ,用Wireshark打开, Ctrl-F搜索flag 发现python代码 将Data导出 #!/usr/bin/env python # coding:utf-8 __author__ = 'Aklis' from Crypto import Random f 阅读全文
posted @ 2016-11-30 20:37 Zhengjim 阅读(2294) 评论(0) 推荐(0) 编辑
摘要: 题目地址:http://ctf.idf.cn/index.php?g=game&m=article&a=index&id=45 下载来发现是crackme.pyc 可以用uncompyle2反编译。也可以直接http://tool.lu/pyc/在这个网站反编译。 得到源代码: #!/usr/bin 阅读全文
posted @ 2016-11-26 19:58 Zhengjim 阅读(948) 评论(0) 推荐(0) 编辑
摘要: 题目地址:http://ctf.idf.cn/index.php?g=game&m=article&a=index&id=37 网站:http://ctf.idf.cn/game/pro/37/ 主要是要有2秒的限制。写个python 脚本。 #!usr/bin/env python #!codin 阅读全文
posted @ 2016-11-26 19:35 Zhengjim 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 写得时候遇到了一个很大的问题,就是我在发送用户名,接受用户名就会一直卡住。然后等了好久后提示 recv ‘\r\nSession timed out.\r\n\r\nTelnet Server has closed t’ 虚拟机服务器是Win7的 主机客户也是Win7。 原来代码是: 1、一开始觉得 阅读全文
posted @ 2016-07-04 13:28 Zhengjim 阅读(3896) 评论(1) 推荐(1) 编辑
摘要: 练习写了个SSH弱口令爆破多线程脚本,遇到的问题 1、一开始想import pexpect 中的pxssh 然而却一直该有错误, ImportError: cannot import name spawn google了下问题都说的很模糊也不清楚。有的说是pexpect模块没安装好,有的说是pyth 阅读全文
posted @ 2016-06-29 11:24 Zhengjim 阅读(5242) 评论(1) 推荐(3) 编辑