attify / firmware-analysis-toolkit

Toolkit to emulate firmware and analyse it for security vulnerabilities
MIT License
1.35k stars 256 forks source link

Unable to execute the execute extractor.py #23

Open Minyanaing opened 6 years ago

Minyanaing commented 6 years ago

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. """

extremecoders-re commented 6 years ago

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)