Loading... ![3b61661096f2d95bd62f99b35168065.png](http://type.zimopy.com/usr/uploads/2023/07/1120894504.png) 这是官网的 ```js const openPtr = Module.getExportByName('libc.so', 'open'); const open = new NativeFunction(openPtr, 'int', ['pointer', 'int']); Interceptor.replace(openPtr, new NativeCallback((pathPtr, flags) => { const path = pathPtr.readUtf8String(); log('Opening "' + path + '"'); const fd = open(pathPtr, flags); log('Got fd: ' + fd); return fd; }, 'int', ['pointer', 'int'])); ``` 这是肉丝写的 https://eternalsakura13.com/2020/07/04/frida/ ![675a36cc60c3edfa18536d6d3d4e618.jpg](http://type.zimopy.com/usr/uploads/2023/07/946273789.jpg) 最后修改:2023 年 07 月 22 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏