Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.88 KB

File metadata and controls

33 lines (21 loc) · 1.88 KB

BinaryMagic



PlatinumVoyager - BinaryMagic stars - BinaryMagic forks - BinaryMagic

A bare bones ELF32/ELF64 bit Goblin binary executable parser written in Rust.

Setup

To setup BinaryMagic invoke the following command:

git clone https://github.com/PlatinumVoyager/BinaryMagic.git ; cd BinaryMagic ; cargo build && sudo cp target/debug/binarymagic /usr/bin && rm -r target && cd $HOME ; binarymagic

Usage

Basic use example: binarymagic <TARGET> <ARGUMENTS>

Information

By default if no arguments are supplied to BinaryMagic it will display a blob of text containing usage information.

image

Preview

Execute: binarymagic /usr/bin/ls --sections

image

CORRECTION: Abbreviations for bytes within the context of the displayed image above is incorrect. Integral values should have been multiplied by 8 then divided by 1024 to obtain the correct values. As the current display is set to the basis of straight up bytes. It should be listed as Kb (kilo bits), Mb (Mega bits), etc. Not as KB (Kilo Bytes) = "bytes" (Ex: 2 Kb (2952 bytes) => 2 Kb (2952 bits) || 2 Kb ([2952 * 8 / 1024] Kb))