Created
May 9, 2020 03:21
-
-
Save Robert-Cunningham/6d3a116840a3960047ca62a624beb115 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java.perform(function () { | |
['java.lang.StringBuilder', 'java.lang.StringBuffer'].map(function (c) { | |
Java.use(c)['toString'].implementation = function () { | |
var ret = this['toString'](); | |
console.log("a", ret, getStackTrace()) | |
return ret | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment