帮酷LOGO
0 0 评论
  • 显示原文与译文双语对照的内容
文章标签:DEX  模块  动态  Loaded  文件  cap  XPO  files  
Xposed module for hooking dalvik.system.BaseDexClassLoader and saving dynamically loaded dex files

  • 源代码名称:DexHook
  • 源代码网址:http://www.github.com/rednaga/DexHook
  • DexHook源代码文档
  • DexHook源代码下载
  • Git URL:
    git://www.github.com/rednaga/DexHook.git
  • Git Clone代码到本地:
    git clone http://www.github.com/rednaga/DexHook
  • Subversion代码到本地:
    $ svn co --depth empty http://www.github.com/rednaga/DexHook
    Checked out revision 1.
    $ cd repo
    $ svn up trunk
    
  • DexHook

    DexHook是一个用于捕获动态加载的文件的 xposed模块。 在加载到用户定义路径之前,DexHook钩子插入 BaseDexClassLoaderDexFile,然后复制文件。

    baseDir 需要从你挂钩的应用程序中写入,/sdcard 将在应用程序可以写入它时工作。

    在 Nexus 5上建立并测试,使用linux设置的DalvikVM 4.4.4运行安 Android。 现在DexHook没有被测试过。

    用法

    它的一个类,少于 100行代码。 读它,或者不用担心。

    修订历史

    v1.1

    • 为DexFile添加钩子,为DexGuard加密类带来支持
    • 固定路径错误,导致某些dex文件不被写入。

    v1.0 ( 初始版本)

    • Hook BaseDexClassLoader捕获装载的dex

    许可证

    
    The MIT License (MIT)
    
    
    
    Copyright (c) 2015 Red Naga
    
    
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    
    
    of this software and associated documentation files (the"Software"), to deal
    
    
    in the Software without restriction, including without limitation the rights
    
    
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    
    
    copies of the Software, and to permit persons to whom the Software is
    
    
    furnished to do so, subject to the following conditions:
    
    
    
    The 上面 copyright notice and this permission notice shall be included in all
    
    
    copies or substantial portions of the Software.
    
    
    
    THE SOFTWARE IS PROVIDED"AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    
    
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    
    
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    
    
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    
    
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    
    
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    
    
    SOFTWARE.
    
    
    
    


    文章标签:文件  files  模块  动态  cap  DEX  XPO  Loaded  

    Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语