Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1848

A dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers.

2 votes
Accepted

Frida hook X509Certificate

If you use an TLS interception proxy and have a rooted phone it may be easier to add the used root CA certificate as system certificate (like described in mitmproxy doc. Afterwards the certificate ver …
Robert's user avatar
  • 1,223
3 votes
Accepted

Frida not hook functions

This is the real function name you have to use for hooking in Frida. …
Robert's user avatar
  • 1,223
1 vote
Accepted

Frida Android how to change value of array passed to method

Frida seems to have some bugs regarding Java arrays that are modified or replaced by JavaScript code. …
Robert's user avatar
  • 1,223
0 votes

Convert string to byte array in frida js script

The only problem of your code seems to that frida wants to help you too much: Before you call json = json.replace(arg1,arg2); json is an instance of the Java type java.lang.String. … When you assign the return value of the replace method to json, frida seems to automatically convert the Java String to a JavaScript string (I assume for convenience). …
Robert's user avatar
  • 1,223
2 votes
Accepted

Create instance of iOS class that contains a . with frida

ObjC.classes.TestClass is just a shorthand in JavaScript for ObjC.classes['TestClass']. Therefore you should be able to access an Test.Class instance this way: var instance = ObjC.chooseSync(ObjC.clas …
Robert's user avatar
  • 1,223
2 votes

Frida reading files is slow

The reason why your code is slow is not Frida but your code. Your code would be also slow when executed in plain J2SE Java. … The less Frida JavaScript calls you have to perform the faster the result. Therefore check if your app contains a libraray like Apache common IO. …
Robert's user avatar
  • 1,223
1 vote
Accepted

Log input data and resulting hash for CC_MD5 calls in an iOS app with Frida

The main problem of your code is that you expect the md parameter to be a string. In C the unsigned char * is not an indicator for a string. Instead it is often for storing binary data. In this case m …
Robert's user avatar
  • 1,223
1 vote
Accepted

Debug shared library in Android application

What you see is possible if the APK files uses the mode extractNativeLibs="false". If that attribute is set in the <application tag in AndroidManifest.xml then Android loads the .so files directly fro …
Robert's user avatar
  • 1,223
5 votes
Accepted

Dynamic analysis (Frida) reveals instance of a class that doesn't exist in the source code (...

As your question includes the Frida tag you should try to use it (if it works on that application) and check the application at run-time what classes are loaded. …
Robert's user avatar
  • 1,223
3 votes
Accepted

How to hook RuntimeException to prevent crashes?

Your problems are independent of the RuntimeException instead they are located in your Frida hooking code: When hooking an Java/Android method (or constructor) the Frida hook replaces the original function …
Robert's user avatar
  • 1,223