ReFirmLabs / binwalk

Firmware Analysis Tool
MIT License
10.75k stars 1.54k forks source link

The command line did not report an error, but did not unpack any files #678

Closed yaaaaaao closed 1 week ago

yaaaaaao commented 3 months ago

Hello, I am trying to unpack some files with Binwalk, such as a sample elf suffix, I ran the package command "binwalk --extract -M --directory /home/lius/results-/home/lius/esp32-app-template.elf "with no error. But the result doesn't have any files in it. I need some help.

devttys0 commented 1 week ago

Binwalk v3 does correctly identify this file as an ELF, and also reports some possible SHA256 hash constants in the ELF file as well:

image_2024-09-22_212943599

With that said, there doesn't seem to be anything to "extract" here. It's an ELF executable; if you want to understand how it works, you'll want to open it up in a disassembler or decompiler.