Skip to content

Instantly share code, notes, and snippets.

@Ayrx

Ayrx/repro.js

Created Apr 23, 2020
Embed
What would you like to do?
Frida Bug?
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