In this video, we learn how to write custom Ghidra scripts in Python. We automatically print function names and set comments to assist reverse engineering.
---
Timestamps:
00:00 Intro
00:40 Script Manager
02:02 Jython
04:00 currentProgram
05:18 getFunctionManager()
07:41 Getting a Handle
08:28 Iterating through Functions
10:20 Running Script
11:41 Inserting Comments
14:27 Default Scripts
16:34 Recap
---
Links Mentioned in Video:
Ghidra:
https://ghidra-sre.org/
Ghidra Reference Manual:
https://ghidra.re/ghidra_docs/api/ghidra/program/model/symbol/Reference.html
---
laurieWIRED Twitter:
https://twitter.com/lauriewired
laurieWIRED Website:
http://lauriewired.com
laurieWIRED Github:
https://github.com/LaurieWired
laurieWIRED HN:
https://news.ycombinator.com/user?id=lauriewired
laurieWIRED Reddit:
https://www.reddit.com/user/LaurieWired