fkie-cad / fact_extractor

Standalone Utility for FACT-like extraction
GNU General Public License v3.0
80 stars 31 forks source link

generic_carver/binwalk problems #90

Closed jstucke closed 2 years ago

jstucke commented 2 years ago

In the latest version, binwalk seems to need an additional parameter --run-as=root in order to unpack files.

Extractor Exception: Binwalk extraction uses many third party utilities, which may not be secure. If you wish to have extraction utilities executed as the current user, use '--run-as=root' (binwalk itself must be run as root).
----------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/binwalk-2.3.3+fa0c0bd-py3.6.egg/binwalk/core/module.py", line 258, in __init__
    self.load()
  File "/usr/local/lib/python3.6/dist-packages/binwalk-2.3.3+fa0c0bd-py3.6.egg/binwalk/modules/extractor.py", line 147, in load
    raise ModuleException("Binwalk extraction uses many third party utilities, which may not be secure. If you wish to have extraction utilities executed as the current user, use '--run-as=%s' (binwalk itself must be run as root)." % user_info.pw_name)
binwalk.core.exceptions.ModuleException: Binwalk extraction uses many third party utilities, which may not be secure. If you wish to have extraction utilities executed as the current user, use '--run-as=root' (binwalk itself must be run as root).
----------------------------------------------------------------------------------------------------
wideglide commented 2 years ago

Might be worth pinning binwalk to 2.3.2 for a bit until they get this newest patch sorted out.

jstucke commented 2 years ago

Resolved by #91