Skip to content

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

License

Notifications You must be signed in to change notification settings

PlatinumVoyager/BinaryMagic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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))

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages