摘要: import os,sysimport pefileimport pydasmimport struct#print sys.argvdef show_section(pe): print "[sections layout:]" print "#"*45 print "%10s %10s %10s %10s" % ("section", "addr", "real_size", "alloc_size" ) print "-"*45 阅读全文
posted @ 2014-03-20 17:59 Daniel King 阅读(1493) 评论(0) 推荐(0) 编辑
摘要: git clone https://github.com/OpenRCE/pydbg.gitgit clone https://github.com/OpenRCE/paimei.gitlibdasm:https://code.google.com/p/libdasm/PyEmu:https://code.google.com/p/pyemu/pefile:https://code.google.com/p/pefile/ 阅读全文
posted @ 2014-03-20 15:24 Daniel King 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.ibm.com/developerworks/cn/linux/l-pythc/1. 基本数据类型Python拥有六大数据类型:IntegerFloatStringTupleListDictionary大致可以分为两类:简单型和容器型Integer, Float以及字面值的String, 都算是简单型的类型。也就是说,它们是基本的,不可再分的类型。String, Tuple, List, Dictionary都是容器型的类型。它们是由多个简单型的类型复合而成的。其中,字面值的Integer, Float, String都是Immutable的。2. 面向对象Pyth 阅读全文
posted @ 2014-03-20 14:05 Daniel King 阅读(155) 评论(0) 推荐(0) 编辑