drozer提示[Errno 2] No such file or directory

之前一直正常使用,某一天升级系统之后发现drozer执行不起来了:

❯ drozer console connect                                                                                                                                                                      
Selecting 6d5a8e18aea1aed6 (Netease MuMu 6.0.1)

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

drozer Console (v2.4.4)
[Errno 2] No such file or directory

一开始以为是java版本的问题,但是装了1.7之后依然没用,后来直接卸载重装,发现依然不行
直到在github看到有人这么解决了,尝试了一下,果然可以:

rm ~/.drozer_history                                                                                                                                                                        
❯ drozer console connect
Selecting 6d5a8e18aea1aed6 (Netease MuMu 6.0.1)

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

drozer Console (v2.4.4)
dz> 

猜测是重装之后没删除drozer缓存文件,重新运行之后跟之前对不上导致这个问题。

你可能感兴趣的:(iOS应用程序安全,drozer,Error,2,Error,35,Error,1,No)