Android APP安全评估工具 Drozer

一、Drozedr安装

注意事项:安装需要 Java Runtime Environment (JRE) or Java Development Kit (JDK)环境,  

没有安装的请先安装java环境。

1. 从官网选择相应版本(官网地址

windows环境选择下载Windows Installer版,下载后解压并点击setup.exe安装

默认安装目录为C:drozer,安装好后进入CMD输入C:drozerdrozer.bat,显示如下页面则安装成功。

 

 二、Drozer-agent安装

使用adb安装drozer-agent到移动终端里

C:UsersIH1407AppDataLocalAndroidandroid-sdkplatform-tools>adb install D:softsecurity	ools移动测试工具drozerdrozer-agent-2.3.4.apk
[100%] /data/local/tmp/drozer-agent-
        pkg: /data/local/tmp/drozer-agent-
Success

安装后移动终端上会出现一个“drozer Agent”的图标,点击后如下

三、运行移动设备上的Drozer代理并启动守护服务,设置好后移动设备上的drozer应该处于监听状态

执行操作让电脑连上移动终端的agent,从上面的截图中可以发现手机端默认开启的端口是31415,
输入以下命令设置端口转发:

C:UsersIH1407AppDataLocalAndroidandroid-sdkplatform-tools>adb forward tcp:31415 tcp:31415
adb server version (31) doesn't match this client (36); killing...
* daemon started successfully *

此时,在pc端然后运行下面的命令建立终端连接:C:drozer>drozer console connect

C:drozer>drozer console connect
Could not find java. Please ensure that it is installed and on your PATH.

If this error persists, specify the path in the ~/.drozer_config file:

    [executables]
    java = C:path	ojava
Selecting b67a4e33e220eafb (COLORFLY G808_3G 4.2.2)

            ..                    ..:.
           ..o..                  .r..
            ..a..  . ....... .  ..nd
              ro..idsnemesisand..pr
              .otectorandroidsneme.
           .,sisandprotectorandroids+.
         ..nemesisandprotectorandroidsn:.
        .emesisandprotectorandroidsnemes..
      ..isandp,..,rotectorandro,..,idsnem.
      .isisandp..rotectorandroid..snemisis.
      ,andprotectorandroidsnemisisandprotec.
     .torandroidsnemesisandprotectorandroid.
     .snemisisandprotectorandroidsnemesisan:
     .dprotectorandroidsnemesisandprotector.

drozer Console (v2.3.4)
dz>

 而此移动终端上的drozer会显示如下截图中红框内的信息,表示连接已建立。

至此,Drozer的环境已经准备完毕。

原文地址:https://www.cnblogs.com/tdcqma/p/5985193.html