Commit 22e6286e by devttys0

Added comments to unjffs2.py

parent 9420878d
...@@ -151,6 +151,7 @@ class UnJFFS2Plugin(binwalk.core.plugin.Plugin): ...@@ -151,6 +151,7 @@ class UnJFFS2Plugin(binwalk.core.plugin.Plugin):
MODULES = ['Signature'] MODULES = ['Signature']
def init(self): def init(self):
# Don't use this plugin for now; see jfferson.py
if False: #self.module.extractor.enabled: if False: #self.module.extractor.enabled:
self.module.extractor.add_rule(txtrule=None, self.module.extractor.add_rule(txtrule=None,
regex='^jffs2 filesystem', regex='^jffs2 filesystem',
......
...@@ -11,5 +11,3 @@ try: ...@@ -11,5 +11,3 @@ try:
print ("\t%s 0x%.8X %s [%s]" % (result.file.name, result.offset, result.description, str(result.valid))) print ("\t%s 0x%.8X %s [%s]" % (result.file.name, result.offset, result.description, str(result.valid)))
except binwalk.ModuleException as e: except binwalk.ModuleException as e:
pass pass
print "Done."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment