Skip to content
wcampbell0x2aPublic

About

Library and binaries for the reading of UBI images

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

income

github crates.io docs.rs build status

Library and binary for the reading of UBI volumes.

$ ./income [IMAGE_PATH]

Testing

Unit test do not exist for this project yet!

$ wget -L https://github.com/onekey-sec/unblob/raw/1965107de2d813c31ce9d0a28ea47649cd5a81a4/tests/integration/filesystem/ubi/ubi/__input__/fruits.ubi
$ unblob fruits.ubi
$ hexyl fruits.ubi_extract/img-1180426539_vol-data.ubifs
┌────────┬─────────────────────────┬─────────────────────────┬────────┬────────┐
│00000000│ 63 68 65 72 72 79 31 0a ┊ ff ff ff ff ff ff ff ff │cherry1_┊××××××××│
│00000010│ ff ff ff ff ff ff ff ff ┊ ff ff ff ff ff ff ff ff │××××××××┊××××××××│
│*       │                         ┊                         │        ┊        │
│00000380│                         ┊                         │        ┊        │
└────────┴─────────────────────────┴─────────────────────────┴────────┴────────┘
$ cargo run --release -- fruits.ubi
2 named volumes, 3 physical volumes, blocksize=0x400
Extracting volume: "apple"
wrote: ubi-root/img-1180426539_vol-apple.ubifs
Extracting volume: "data"
wrote: ubi-root/img-1180426539_vol-data.ubifs
$ hexyl ubi-root/img-1180426539_vol-data.ubifs
┌────────┬─────────────────────────┬─────────────────────────┬────────┬────────┐
│00000000│ 63 68 65 72 72 79 31 0a ┊ ff ff ff ff ff ff ff ff │cherry1_┊××××××××│
│00000010│ ff ff ff ff ff ff ff ff ┊ ff ff ff ff ff ff ff ff │××××××××┊××××××××│
│*       │                         ┊                         │        ┊        │
│00000380│                         ┊                         │        ┊        │
└────────┴─────────────────────────┴─────────────────────────┴────────┴────────┘

About

Library and binaries for the reading of UBI images

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages