Android APK installer for Windows/Linux/Mac OSX

apk

其实想写这么个东西是很久之前的想法了,那时候还在厦门,还没有回到山东,很多的东西也不是现在的样子。很多的东西总是充满了变数和无奈,很多的东西也在自然不自然的过程中到了现在的样子。而至于这个东西也只是简单的说几句吧,基于pyqt开发,目标是跨平台运行在Windows ,Linux,Mac OSX下。现在已经能够在windows下正常使用了,另外mac和linux下的pyqt安装略麻烦一点,网络也不咋地所以还没测试。需要完成的代码还有apk关联,另外启动的时候在不同的环境下可能出现黑框,看起来很蛋疼,在找找原因吧,时机合适了开放源码。

mitmproxy

QQ20130628-2

mitmproxy是一款支持SSL的HTTP代理,它可以用于调试HTTP通信,发起中间人攻击等。mitmproxy提供了一个控制台接口用于动态拦 截和编辑HTTP数据包。mitmdump是mitmproxy的命令行版本,功能与其相同。

link:http://www.mitmproxy.org/
mitmproxy的主要特点:

Intercept and modify HTTP traffic on the fly

Save HTTP conversations for later replay and analysis

Replay both HTTP clients and servers

Make scripted changes to HTTP traffic using Python

SSL interception certs generated on the fly

Python tools for VS2012

Python tools in VS2012
Python tools in VS2012

PTVS is a free/OSS plugin that turns Visual Studio into a Python IDE. PTVS supports CPython, IronPython, Editing, Browsing, Intellisense, Debugging, Profiling, HPC Clusters, Multiple REPL’s, IPython, Django, and Cloud computing with Client Libraries for Windows, Linux and MacOS. This is an officially supported product from Microsoft’s Developer Division.

如果喜欢用vs勊考虑用这个插件来实现在vs中进行代码编写和调试,简单的测试了一下,发现如果新建工程调试的时候断点是有效的,但是如果是单一文件作为脚本调试,断点无法正常中断。当然作为一个alphra版本的软件做到这样已经不错了。

下载链接:http://pytools.codeplex.com/

Python加载的文件哪里去了?(2)

其实这个标题并不确切,其实应该是ImmDbg调试器加载的文件哪里去了。加载文件脚本还是下面的样子:

"""
(c) Mars Security. 2009-2012
Institute Of Information Serurity From Mars
Email:root@h4ck.ws
U{By obaby. http: //www.h4ck.org.cn}
"""
#sys.path.append("C:\\Program Files\\Immunity Inc\\Immunity Debugger\\Libs")

DESC="""Load Binary file test!"""

import immlib
import immutils
import os

def main(args):
    imm = immlib.Debugger()
    imm.log ("--------------------------------------------------------------------------------" )
    imm.log ("[*] Start Loading file " )
    imm.log ("--------------------------------------------------------------------------------" )
             
    rcFileHandle = open ('C:\\test.bin','rb')
    rcFileData = rcFileHandle.read()
    
    rcFileLength = len(rcFileData)
        
    imm.log ("[*] FileLength is 0x%08x and filedata is loaded at address 0x%08x" %(rcFileLength,id(rcFileData)))    

    imm.log ("[*] Finished Loading " )
    imm.log ("--------------------------------------------------------------------------------" )
        
    return "[*] Data has been Loaded!"
Continue Reading