安装dorzer之前请先确定是否安装以下约束:
Java Development Kit (JDK)
Python 2.7
Android SDK
windows上下载该链接:http://mwr.to/drozer,同时可以下载用户手册
测试dorzer是否安装成成功:
$ C:\drozer\drozer.bat
usage: drozer.bat [COMMAND]
Run `drozer.bat [COMMAND] --help` for more usage information.
Commands:
console start the drozer Console
server start a drozer Server
ssl manage drozer SSL key material
exploit generate an exploit to deploy drozer
shellcode generate shellcode to deploy drozer
payload create custom drozer Agents
安装agent:
adb install agent.apk
创建一个会话:
使用adb,设置好端口转发,默认情况下dorzer使用的是TCP 31415,在此之前需要运行agent,并且打开embedded server,确定server旁的那盏灯已打开,证明agent已经运行
adb forward tcp:31415 tcp:31415
进行连接:
C:\drozer\drozer.bat console connect