View Issue Details

IDProjectCategoryView StatusLast Update
0000729Kali LinuxKali Package Bugpublic2013-12-04 19:11
Reportermchandx Assigned Todookie  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Platformx64OSKaliOS Version1.0
Product Version1.0.5 
Summary0000729: Binwalk NameError
Description

Running binwalk with Python 2.7.3 gives a NameError for Plugins not being defined. I reported this to the developer (devttys0) via Github and he said that this is a Kali issue as "the binwalk/plugins directory does not (and should not) have an init.py". The initial bug report is at https://github.com/devttys0/binwalk/issues/10. This will happen consistently on both an apt-get install and git clone method of installation until the files I've listed in the "additional information" field are removed.

Steps To Reproduce

root@kali:~/Desktop/# binwalk XXXXXXX.bin
Traceback (most recent call last):
File "/usr/bin/binwalk", line 536, in <module>
main()
File "/usr/bin/binwalk", line 481, in main
plugins_blacklist=plugin_blacklist)
File "/usr/lib/pymodules/python2.7/binwalk/init.py", line 306, in scan
self.plugins = Plugins(self, whitelist=plugins_whitelist, blacklist=plugins_blacklist)
NameError: global name 'Plugins' is not defined

Additional Information

This is easily fixable by removing 4 files.

/usr/lib/pymodules/python2.7/binwalk/init.py
/usr/lib/pymodules/python2.7/binwalk/init.pyc
/usr/lib/pymodules/python2.6/binwalk/init.py
/usr/lib/pymodules/python2.6/binwalk/init.pyc

Activities

dookie

dookie

2013-12-04 19:11

reporter   ~0001122

Thanks for the report but this is a duplicate of bug 460:

https://bugs.kali.org/view.php?id=460

Issue History

Date Modified Username Field Change
2013-12-04 12:45 mchandx New Issue
2013-12-04 19:11 dookie Note Added: 0001122
2013-12-04 19:11 dookie Status new => closed
2013-12-04 19:11 dookie Assigned To => dookie
2013-12-04 19:11 dookie Resolution open => duplicate