Skip to content

Extractor failing on majority of images #2

@ksbickmore

Description

@ksbickmore

I'm having trouble determining why the extractor fails on the vast majority of images downloaded via the scraper. It works fine on the Netgear WNAP320, 29 of the DLinks that were scraped and another 30 or so of the other Netgear images. The remaining all get errors similar to what I've posted below.

When I extract using binwalk -e it works fine. binwalk is version 2.1.2b

./sources/extractor/extractor.py -b netgear -sql 127.0.0.1 -np -nk ../b547a37d517c20b70b10657cc9f15a9a0268e62f.zip images/

Database Image ID: 768

/home/user/firmadyne/b547a37d517c20b70b10657cc9f15a9a0268e62f.zip

MD5: 29b3378ac4edad8ebd119e86c3511b82
Tag: 768
Temp: /tmp/tmpzDF4ji
Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True

Zip archive data, at least v2.0 to extract, compressed size: 2112, uncompressed size: 5845, name: ReleaseNotes_FVS338_fw_2.0.0.html
Recursing into archive ...

/tmp/tmpzDF4ji/_b547a37d517c20b70b10657cc9f15a9a0268e62f.zip.extracted/fvs338_2_0_0_139.img
>> MD5: 8f6d717d07234d1be491853872fcef38
>> Tag: 768
>> Temp: /tmp/tmpaEx6r5
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>>>> gzip compressed data, maximum compression, from Unix, last modified: 2006-10-07 16:28:56
>> Recursing into compressed ...

/tmp/tmpaEx6r5/_fvs338_2_0_0_139.img.extracted/333C
>> MD5: 97bff8c2cdc9d4fdb54509fe04906df6
>> Tag: 768
>> Temp: /tmp/tmpB60hPN
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>>>> PARity archive data - file number 27745
>> Recursing into archive ...
>>>> Extraction failed!
>>>> gzip compressed data, maximum compression, from Unix, last modified: 2006-10-07 16:28:37
>> Recursing into compressed ...

/tmp/tmpB60hPN/_333C.extracted/1A3E0
>> Skipping: recursion depth 3
>> Cleaning up /tmp/tmpB60hPN...

/tmp/tmpaEx6r5/_fvs338_2_0_0_139.img.extracted/210AC0
>> MD5: a14c6cefeb7a3f73a36ca73668b9a55a
>> Tag: 768
>> Temp: /tmp/tmpBbZKR7
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>> Recursing into compressed ...
>> Cleaning up /tmp/tmpBbZKR7...

/tmp/tmpaEx6r5/_fvs338_2_0_0_139.img.extracted/210AE8
>> MD5: 19d48884221170c2085f9ab3c068774f
>> Tag: 768
>> Temp: /tmp/tmpGkoMwE
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>> Recursing into compressed ...
>> Cleaning up /tmp/tmpGkoMwE...

/tmp/tmpaEx6r5/_fvs338_2_0_0_139.img.extracted/210B10
>> MD5: 9b1103e2d69ce3e6eb951537d7406de4
>> Tag: 768
>> Temp: /tmp/tmpMwFyjT
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>> Recursing into compressed ...
>> Cleaning up /tmp/tmpMwFyjT...

/tmp/tmpaEx6r5/_fvs338_2_0_0_139.img.extracted/210B38
>> MD5: 12a4df70c4a7495c702cf18156f23197
>> Tag: 768
>> Temp: /tmp/tmp0Bdoxz
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>> Recursing into compressed ...
>> Cleaning up /tmp/tmp0Bdoxz...

/tmp/tmpaEx6r5/_fvs338_2_0_0_139.img.extracted/210B60
>> MD5: 0d4a362fa6c9cfe47412120640ee4ec0
>> Tag: 768
>> Temp: /tmp/tmptochU8
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>> Recursing into compressed ...
>> Skipping: recursion breadth 5
>> Cleaning up /tmp/tmptochU8...
>> Skipping: completed!
>> Cleaning up /tmp/tmpaEx6r5...

/tmp/tmpzDF4ji/_b547a37d517c20b70b10657cc9f15a9a0268e62f.zip.extracted/ReleaseNotes_FVS338_fw_2.0.0.html
>> MD5: af25e9cdeba6d6a5afc380dd56e54a21
>> Skipping: text/plain...

Extraction failed!
Zlib compressed data, best compression
Recursing into compressed ...

/tmp/tmpzDF4ji/_b547a37d517c20b70b10657cc9f15a9a0268e62f.zip.extracted/fvs338_2_0_0_139.img
>> MD5: 8f6d717d07234d1be491853872fcef38
>> Skipping: 8f6d717d07234d1be491853872fcef38...

/tmp/tmpzDF4ji/_b547a37d517c20b70b10657cc9f15a9a0268e62f.zip.extracted/ReleaseNotes_FVS338_fw_2.0.0.html
>> MD5: af25e9cdeba6d6a5afc380dd56e54a21
>> Skipping: af25e9cdeba6d6a5afc380dd56e54a21...

/tmp/tmpzDF4ji/_b547a37d517c20b70b10657cc9f15a9a0268e62f.zip-0.extracted/2170E3
>> MD5: 5ba158ccd71d703366609b02933972c9
>> Tag: 768
>> Temp: /tmp/tmpwPh5a9
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>> Recursing into compressed ...
>> Cleaning up /tmp/tmpwPh5a9...

/tmp/tmpzDF4ji/_b547a37d517c20b70b10657cc9f15a9a0268e62f.zip-0.extracted/217900
>> MD5: 0225d6e816bcfd23c77cee5d26a73d2d
>> Tag: 768
>> Temp: /tmp/tmppJhxpB
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>> Recursing into compressed ...
>> Cleaning up /tmp/tmppJhxpB...

/tmp/tmpzDF4ji/_b547a37d517c20b70b10657cc9f15a9a0268e62f.zip-0.extracted/2181ED
>> MD5: 22e744cae8cdec1aa9ea16073c05f4ac
>> Tag: 768
>> Temp: /tmp/tmphgOKKy
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>> Recursing into compressed ...
>> Cleaning up /tmp/tmphgOKKy...

/tmp/tmpzDF4ji/_b547a37d517c20b70b10657cc9f15a9a0268e62f.zip-0.extracted/218A07
>> MD5: 2b1dda9d98da2e30fc8fa982b93d6ae8
>> Tag: 768
>> Temp: /tmp/tmpha8u9m
>> Status: Kernel: True, Rootfs: False, Do_Kernel: False, Do_Rootfs: True
>> Recursing into archive ...
>>>> Extraction failed!
>> Recursing into compressed ...

Skipping: recursion breadth 5
>> Cleaning up /tmp/tmpha8u9m...
Skipping: completed!
Cleaning up /tmp/tmpzDF4ji...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions