Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add magic for ZTE firmware #673

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion src/binwalk/magic/firmware
Original file line number Diff line number Diff line change
Expand Up @@ -988,4 +988,21 @@
>(28.L+36+15) belong x file_size: %d,
>(28.L+36+15+4) belong x


# ZTE FIRMWARE
# https://github.com/0xXA/hacking-sharp-vision
# Added by Yuvraj Saxena <[email protected]>
0 string \x99\x99\x99\x99\x44\x44\x44\x44\x55\x55\x55\x55\xaa\xaa\xaa\xaa ZTE firmware,
>16 byte !0x0 {invalid} padding bytes
>36 string x Firmware version: "%s",
>64 ulelong 0x1
>>76 ulelong x Header size: %d bytes,
>80 ulelong 0x1
>>92 ulelong x Header size: %d bytes,
>164 ulelong 0x1
>>168 lelong x Header CRC: 0x%X
>180 ulelong 0x1
>>184 lelong x Header CRC: 0x%X
>196 ulelong 0x1
>>200 lelong x Header CRC: 0x%X
>212 ulelong 0x1
>>216 lelong x Header CRC: 0x%X