Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
binwalk
Commits
70df244e
Commit
70df244e
authored
Nov 14, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added UBI volume signatures
parent
54048395
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
filesystems
src/binwalk/magic/filesystems
+18
-4
No files found.
src/binwalk/magic/filesystems
View file @
70df244e
...
@@ -105,11 +105,25 @@
...
@@ -105,11 +105,25 @@
>4 belong x {jump:%u}
>4 belong x {jump:%u}
>4 belong x {size:%u}
>4 belong x {size:%u}
# TODO: Validate flags field.
# http://www.dubeiko.com/development/FileSystems/UBI/ubidesign.pdf
# Add signatures for other node types so that they can be skipped
0 string UBI! UBI volume ID header,
# and we don't print out a ton of stuff internal to each node.
>4 ubyte x version: %d,
>5 ubyte x type: %d,
>8 ubelong x volume id: %d,
>8 ubelong >256 {invalid}
>12 ubelong x size: %d
>12 ubelong !0 {invalid}
>28 string !\x00*12 {invalid}
0 string UBI\x23 UBI erase count header,
>4 ubyte x version: %d,
>5 string !\x00*3 {invalid}
>8 ubequad x EC: 0x%lX,
>16 ubelong x VID header offset: 0x%X,
>20 ubelong x data offset: 0x%X
# http://lxr.free-electrons.com/source/fs/ubifs/ubifs-media.h
# http://lxr.free-electrons.com/source/fs/ubifs/ubifs-media.h
0 lelong 0x06101831 UBIFS
filesystem, superblock node
,
0 lelong 0x06101831 UBIFS
superblock
,
>20 ubyte !6 {invalid} # Only look for the superblock node
>20 ubyte !6 {invalid} # Only look for the superblock node
>4 ulelong x CRC: 0x%X,
>4 ulelong x CRC: 0x%X,
#>8 lequad x sqnum: %ld,
#>8 lequad x sqnum: %ld,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment