Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use frida to reflect a method #2

Closed
zxhubo opened this issue Mar 21, 2019 · 1 comment
Closed

how to use frida to reflect a method #2

zxhubo opened this issue Mar 21, 2019 · 1 comment

Comments

@zxhubo
Copy link

zxhubo commented Mar 21, 2019

For example, a java function

public byte[] aesEncrypt(String plaintext)

I want to reflect this method,

 var class_name1 = "com.example.cryptutils.util.CryptoUtils";
  var Platform1  = Java.use(class_name1);
var method = Platform1.getDeclaredMethod("aesEncrypt",XXXXX);

how to input the XXXX ?

@0xdea
Copy link
Owner

0xdea commented Apr 8, 2019

Hi, not sure I understand your question. However, you should refer to Frida's documentation and examples, e.g.:

https://github.com/frida/frida-java
https://github.com/iddoeldor/frida-snippets
https://codeshare.frida.re/@dzonerzy/dereflector/

If you still have doubts I suggest you to contact https://telegram.me/fridadotre directly.

@0xdea 0xdea closed this as completed Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants