Skip to content

Commit

Permalink
Add number of entries in D-Link ROMFS signature
Browse files Browse the repository at this point in the history
  • Loading branch information
syschmod authored Apr 23, 2020
1 parent ff34b12 commit cd9a663
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/binwalk/magic/filesystems
Original file line number Diff line number Diff line change
Expand Up @@ -571,14 +571,17 @@

# Not to be confused with an actual romfs image!
# ftp://ftp.dlink.eu/Products/dir/dir-600/driver_software/DIR-600_fw_revC1_3-05B15__all_en_20120216.zip
# based on eCos romfs, but with lzma files compression
0x10 string ROMFS\x20v D-Link ROMFS filesystem,
>0x17 string x version %s,
>0 string !\x2EmoR
>>0 string !Rom\x2E {invalid} unknown endianness
>0 string \x2EmoR little endian,
>>4 lelong x %d entries,
>>8 lelong x size: <= %d
#>>8 lelong-0x20 x {jump:%d}
>0 string Rom\x2E big endian,
>>4 belong x %d entries,
>>8 belong x size: <= %d
#>>8 belong-0x20 x {jump:%d}

Expand Down

0 comments on commit cd9a663

Please sign in to comment.