#binary #extract #tool #cli #command-line-tool #filesystem #minifs

app minifs-extractor

A simple CLI tool to extract files from a minifs binary

1 stable release

1.0.0 Nov 4, 2024

#811 in Command line utilities

MIT license

13KB
288 lines

minifs-extractor

A tool to extract minifs filesystems from binary files, which are common with VxWorks images.

Special thanks to Dmitrii Belimov and Evgenii Vinogradov for writing the paper this tool was based on.

Usage:

minifs-extractor ./firmware.bin

It will create a _firmware.bin.extracted directory with all the files found in the filesystem.

Before installing with cargo or building from source, make sure you have rust installed:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup

Installation

  • From cargo (requires rust installation):
cargo install minifs-extractor

Building from source

Build it with cargo:

git clone https://github.com/RedaOps/minifs-extractor
cd minifs-extractor
cargo build --release
./target/release/minifs-extractor -h

Dependencies

~1.2–1.8MB
~31K SLoC