Skip to content

Rizer0/binjapack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

binjapack

A tiny Binary Ninja plugin to help you quickly pack addresses into p32/p64 format while solving pwn CTFs.

Instead of manually typing struct.pack("<I", addr) or struct.pack("<Q", addr) in Python every time, you can right-click an instruction or address in Binary Ninja and instantly see/copy the packed forms.


✨ Features

  • Pack instruction address into both p32 (4 bytes, little-endian) and p64 (8 bytes, little-endian).
  • Output formats:
    • Python-ready b"\xde\xad\xbe\xef" style
    • Hex-escaped string \xef\xbe\xad\xde
  • Two usage modes:
    • View in Log → prints results into Binary Ninja’s Log console.
    • Show Report → opens a plain-text popup with the packed values.

📷 Example

Right-click on any instruction and choose Pack 32/64 → View In Log

Disassembly and Log example showing binjapack output

Pack 32/64 → Show Report

Disassembly and Report example  binjapack output

About

tiny plugin to help you when playing a pwn ctf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages