One Article Review

Accueil - L'article:
Source Malware_Hell.webp Malware Hell
Identifiant 8314731
Date de publication 2023-02-04 00:00:00 (vue: 2023-03-01 20:12:23)
Titre Ghidra Python Scripting Cheatsheet
Texte This is a cheatsheet I use for Ghidra scripting. NOTE: Some of these functions use each other 😄 Get Python Bytes from Address 1 2 def get_bytes(address, size): return bytes(map(lambda b: b & 0xff, getBytes(address, size))) Get Section Bytes (Program Tree) 1 2 3 def get_section_bytes(section_name): section = getMemoryBlock(section_name) return get_bytes(section.getStart(), section.getSize()) Get Executable Path 1 currentProgram.getExecutablePath() Get Program Start Address 1 currentProgram.getMinAddress() Get Program End Address 1 currentProgram.getMaxAddress() Comments 1 2 3 4 from ghidra.
Envoyé Oui
Condensat NoVal
Tags
Stories
Notes ★★★★
Move


L'article ne semble pas avoir été repris aprés sa publication.


L'article ne semble pas avoir été repris sur un précédent.
My email: