Giter Site home page Giter Site logo

有办法检查尝试写入sdcard数据的行为吗? 小米应用市场会检查这块,目前最新版的好像无法检测到这里 about camille HOT 5 CLOSED

zhengjim avatar zhengjim commented on August 23, 2024
有办法检查尝试写入sdcard数据的行为吗? 小米应用市场会检查这块,目前最新版的好像无法检测到这里

from camille.

Comments (5)

zhengjim avatar zhengjim commented on August 23, 2024
hook('java.io.FileOutputStream', [
    {'methodName': '$init', 'action': action, 'messages': 'FileOutputStream写文件'}
]);
hook('java.io.FileInputStream', [
    {'methodName': '$init', 'action': action, 'messages': 'FileInputStream读文件'}
]);

from camille.

zhengjim avatar zhengjim commented on August 23, 2024

可以自行添加上面的,就是会有太多结果了。所以没加进去

from camille.

LiuXinzhi94 avatar LiuXinzhi94 commented on August 23, 2024

function customHook() {
var action = '用户自定义hook';

 hook('java.io.File', [
     {'methodName': 'mkdirs', 'action': action, 'messages': '尝试写入sdcard创建小米市场审核可能不通过'},
     {'methodName': 'mkdir', 'action': action, 'messages': '尝试写入sdcard创建小米市场审核可能不通过'}
     //{'methodName': 'createNewFile', 'action': action, 'messages': '尝试写入sdcard创建'}
 ]);
 
 感谢回答,目前我是这样解决的 ,和小米市场监控的方法一样

from camille.

zhengjim avatar zhengjim commented on August 23, 2024

👍🏻,那我加进工具,可以吧?

from camille.

LiuXinzhi94 avatar LiuXinzhi94 commented on August 23, 2024

from camille.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.