Last active
May 23, 2019 18:44
-
-
Save TheRealJunior/71ffb63d040f1b00d81fa5a658efd57d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Show hidden characters
| { | |
| "scope": "source.js", | |
| "completions": [ | |
| {"trigger": "fridainterceptor", "contents": "Interceptor.attach(\n ptr,\n {\n onEnter:function(args) {\n\n },\n onLeave: function(retval) {\n\n }\n }\n)"}, | |
| {"trigger": "fridaperform", "contents": "function main(){\n console.log('main()');\n}\n\nconsole.log('script loaded');\nJava.perform(main);"}, | |
| {"trigger": "fridause", "contents": "var kls = Java.use('kls');"}, | |
| {"trigger": "fridahex", "contents": "hexdump(\n ptr,\n {\n offset: 0,\n length: ptr_size\n }\n);" }, | |
| {"trigger": "fridabacktrace", "contents": "console.log('called from:\\n' +\n Thread.backtrace(this.context, Backtracer.ACCURATE)\n .map(DebugSymbol.fromAddress).join('\\n') + '\\n'\n);"}, | |
| {"trigger": "fridamods", "contents": "var mods = Process.enumerateModules().filter(function(mod){\n return mod.name.includes(\"<name>\");\n});"}, | |
| {"trigger": "fridaexport", "contents": "Module.findExportByName(null, \"<export_name>\");"}, | |
| {"trigger": "fridabase", "contents": "Module.findBaseAddress(name);"}, | |
| {"trigger": "fridaoverload", "contents": "kls.method_name.overload().implementation=function(){}"} | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment