hookmaster / frida-all-in-one Goto Github PK
View Code? Open in Web Editor NEW《FRIDA操作手册》by @hluwa @r0ysue
《FRIDA操作手册》by @hluwa @r0ysue
安装包不见了?
如题。出错文件如下:
https://github.com/hookmaster/frida-all-in-one/blob/master/03.基本案例上手/一篇文章带你领悟Frida的精髓(基于安卓8.1)/READMD.md
原文的js漏掉了构造String类型的参数,会导致hook失败。应该用
https://github.com/hookmaster/frida-all-in-one/blob/master/03.基本案例上手/一篇文章带你领悟Frida的精髓(基于安卓8.1)/04.zip
中的s4.js替换原文中有问题的js
在https://github.com/hookmaster/frida-all-in-one/blob/master/03.%E5%9F%BA%E6%9C%AC%E6%A1%88%E4%BE%8B%E4%B8%8A%E6%89%8B/%E4%B8%80%E7%AF%87%E6%96%87%E7%AB%A0%E5%B8%A6%E4%BD%A0%E9%A2%86%E6%82%9FFrida%E7%9A%84%E7%B2%BE%E9%AB%93(%E5%9F%BA%E4%BA%8E%E5%AE%89%E5%8D%938.1)/READMD.md
的 《Friday 为什么这么火?》中 “也可以使用gbd、lldb等调试器连上去看”,这里的gbd是gdb吧?
Java.choose("com.roysue.demo02.MainActivity" , {
onMatch : function(instance){ //该类有多少个实例,该回调就会被触发多少次
console.log("Found instance: "+instance);
console.log("Result of secret func: " + instance.secret());
},
onComplete:function(){}
});
I use the demo.js and it return fail:
Unable to parse ART internals; please file a bug at https://github.com/frida/frida-java'
原issue地址是:frida/frida-java-bridge#78
问题是:
I have a question in "java.lang.Class.getMethod".
public Method getMethod(String name, Class<?>... parameterTypes) throws NoSuchMethodException, SecurityException { return getMethod(name, parameterTypes, true); }
the second parameter need a "[Ljava.lang.Object;" type, and java code like this:
getMethod("say", new Class[]{String.class,int.class});
getMethod("say", new Class[]{Integer.TYPE,Integer.TYPE});
so How can i create this array using js or other ways ?
in addition,I created a obj array like this:
var Integerclass = Java.use("java.lang.Integer");
var objectArr = Java.array('Ljava.lang.Class;',[Integerclass.TYPE,Integerclass.TYPE]);
but i got a "invalid argument value" error.
{'type': 'error', 'description': 'Error: invalid argument value', 'stack': 'Error: invalid argument value\n at frida/node_modules/frida-java/lib/env.js:515\n at frida/node_modules/frida-java/lib/class-factory.js:2592\n at toJniObjectArray (frida/node_modules/frida-java/lib/class-factory.js:2640)\n at java.js:4489\n at frida/node_modules/frida-java/lib/class-factory.js:743\n at [anon] (script1.js:28)\n at input:1', 'fileName': 'frida/node_modules/frida-java/lib/env.js', 'lineNumber': 515, 'columnNumber': 1}
这个问题我也遇到了,就是在js中反射方式调用java的函数,那么就需要创建java.lang.Class类型的数组,在Java中,基本类型可以表达为int.class,boolean.class等,但是就如上面问题所诉,在frida的script中该如何创建int.class,boolean.class等呢。
Hi. I'm trying to build frida on my HTC 10. I pushed frida-server by adb
I tried the steps in some teaching website such as https://bbs.pediy.com/thread-248293.htm and
https://blog.zzzmode.com/2017/09/12/frida-android-hook/?fbclid=IwAR04MhkGmTloPK0_st7f32CfxQGzuBHGFy4n3mnhxvcIz2jsTXaY7C0Qc-g.
However, when I executed "frida-ps -U", I got "sh: frida-ps: not found"
Is there anyone know what I should do?? Thanks!!!
属实佩服 真就感觉找到了宝藏
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.