Created
April 23, 2020 04:30
-
-
Save Ayrx/64c7da9925bd708b4efb2c9b2843dd5c to your computer and use it in GitHub Desktop.
Frida Bug?
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
var m = "python2.7"; | |
var ex = "PyTraceBack_Type"; | |
var module = Process.getModuleByName(m) | |
console.log(JSON.stringify(module)); | |
for (var e of module.enumerateExports()) { | |
if (e.name == ex) { | |
console.log(JSON.stringify(e)); | |
} | |
} | |
console.log("A: " + module.findExportByName(ex)); | |
console.log("B: " + Module.findExportByName(m, ex)); | |
console.log("C: " + Module.findExportByName(null, ex)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment