Closed HassamK97 closed 5 years ago
Use
for module in binwalk.scan('dlink_DCS_930L.bin', signature=True, quiet=True, matryoshka=True, extract=True):
Use
for module in binwalk.scan('dlink_DCS_930L.bin', signature=True, quiet=True, matryoshka=True, extract=True):
Thanks, issue resolved.
Hi, I am using binwalk API to perform firmware extraction. When extraction is performed it only returns some extracted files and not the complete file system. Not like the tool which returns complete file system after recursive extraction.
binwalk -M -e dlink_DCS_930L.bin
This command recursively extracts binary file and displays following information in extracted folder:
But if I perform extraction from binwalk API, it doesn't extract recursively. The following code is used for performing firmware extraction using API:
for module in binwalk.scan('dlink_DCS_930L.bin', signature=True, quiet=True, extract=True):
It does not display the complete file system of the firmware like above. The result is as follows:
Is there any rule or any specific method that performs recursive extraction using binwalk Python API? Kindly acknowledge.