firmware-analysis-toolkit icon indicating copy to clipboard operation
firmware-analysis-toolkit copied to clipboard

Unable to execute the execute extractor.py

Open Minyanaing opened this issue 7 years ago • 1 comments

When I run the fat.py, the program start and then I put the firmware and the brand. Then the error occurred as described below. """ Traceback (most recent call last): File "fat.py", line 122, in main() File "fat.py", line 109, in main image_id = run_extractor(firm_name, firm_brand) File "fat.py", line 47, in run_extractor child = pexpect.spawn(extractor_cmd, timeout=None) File "/usr/local/lib/python2.7/dist-packages/pexpect/pty_spawn.py", line 204, in init self._spawn(command, args, preexec_fn, dimensions) File "/usr/local/lib/python2.7/dist-packages/pexpect/pty_spawn.py", line 276, in _spawn 'executable: %s.' % self.command) pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: /home/firmadyne/sources/extractor/extractor.py. """

Minyanaing avatar Nov 09 '18 03:11 Minyanaing

From the error message, looks like firmadyne (on which fat is based) isn't setup properly. It's failing on the line.

child = pexpect.spawn(extractor_cmd, timeout=None)

extremecoders-re avatar Nov 09 '18 06:11 extremecoders-re