Doesn't work on Windows
See original GitHub issueIn the latest release notes you mention that it should work on Windows. However, after pip installing it i get the following errors:
In [2]: binwalk.scan(r"C:\Windows\System32\Calc.exe", signatures=True)
General Error: Cannot open file : [Errno 2] No such file or directory: '--signatures'
---------------------------------------------------------------------------
ModuleException Traceback (most recent call last)
<ipython-input-2-a05707c228ff> in <module>
----> 1 binwalk.scan(r"C:\Windows\System32\Calc.exe", signatures=True)
c:\users\loki\miniconda3\envs\stegoveritas\lib\site-packages\binwalk\__init__.py in scan(*args, **kwargs)
8 def scan(*args, **kwargs):
9 with Modules(*args, **kwargs) as m:
---> 10 objs = m.execute()
11 return objs
12
c:\users\loki\miniconda3\envs\stegoveritas\lib\site-packages\binwalk\core\module.py in execute(self, *args, **kwargs)
782 # Run all modules
783 for module in self.list():
--> 784 obj = self.run(module)
785
786 # Add all loaded modules that marked themselves as enabled to the
c:\users\loki\miniconda3\envs\stegoveritas\lib\site-packages\binwalk\core\module.py in run(self, module, dependency, kwargs)
801 '''
802 try:
--> 803 obj = self.load(module, kwargs)
804
805 if isinstance(obj, binwalk.core.module.Module) and obj.enabled:
c:\users\loki\miniconda3\envs\stegoveritas\lib\site-packages\binwalk\core\module.py in load(self, module, kwargs)
832 argv = self.argv(module, argv=self.arguments)
833 argv.update(kwargs)
--> 834 argv.update(self.dependencies(module, argv['enabled']))
835 return module(self, **argv)
836
c:\users\loki\miniconda3\envs\stegoveritas\lib\site-packages\binwalk\core\module.py in dependencies(self, module, module_enabled)
864 # raise an exception
865 if depobj.errors:
--> 866 raise ModuleException("Failed to load " + dependency.name + " module")
867 else:
868 attributes[dependency.attribute] = depobj
ModuleException: Failed to load General module
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
What You Should Do If Windows Fails to Start
1. Restart the PC, and as soon as Windows 10 tries to load; remove the power supply or press and hold the Power...
Read more >[Solved] Windows 10 Not Responding | Quickly & Easily
How to Fix Windows 10 not responding · Restart your computer · Troubleshoot your computer · Update available drivers · Run System File...
Read more >Fix problems with the Start menu - Microsoft Support
Fix problems with the Start menu · Show a hidden taskbar · Check for updates · Restart your device · Update drivers ·...
Read more >Troubleshoot problems updating Windows - Microsoft Support
Have issues installing Windows updates? Start here. · Free up some drive space so you can run updates · Restart to apply installed...
Read more >Windows 10 start button not working - Microsoft Community
Hello, I am using a windows 10 preview build, the most recent one. Just last night the start menu stopped working, it doesn't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually the PR by @akx makes this work out of the box on Windows 10. You just have to clone his branch (
git clone -b packaging-fixes https://github.com/akx/binwalk.git
) and runpip install .
in the newly-created folder. Then binwalk can be run either by typingbinwalk
in the command like (if the Python installation’s Scripts folder is added to %PATH%) or by typingpython3 -m binwalk
@Bamgm14 Can you write a tutorial on how you got it working on windows 10? Would be great. Thanks.