#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

#631 in Command line utilities

Download history 138/week @ 2024-10-31 29/week @ 2024-11-07

167 downloads per month

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.3–1.9MB
~33K SLoC