Commit ea23f88d by devttys0

Added uuencode file signature

parent 5996915f
......@@ -82,9 +82,11 @@ class Signature(Module):
self.magic_files.append(self.config.settings.user.binwalk)
self.magic_files.append(self.config.settings.system.binwalk)
# Parse the magic file(s) and initialize libmagic
# Parse the magic file(s)
binwalk.core.common.debug("Loading magic files: %s" % str(self.magic_files))
self.mfile = self.parser.parse(self.magic_files)
# Initialize libmagic
self.magic = binwalk.core.magic.Magic(self.mfile, keep_going=self.keep_going)
# Once the temporary magic files are loaded into libmagic, we don't need them anymore; delete the temp files
......
......@@ -44,10 +44,26 @@
0 string /home/ Unix home path string:
>0 string x "%s"
0 string neighbor Neighborly text, best guess: Goodspeed,
0 string neighbor Neighborly text,
>0 string x "%s
>63 string x \b%s"
0 string Neighbor Neighborly text, best guess: Goodspeed,
0 string Neighbor Neighborly text,
>0 string x "%s
>63 string x \b%s"
0 string neighborly Neighborly text, best guess: Goodspeed,
>0 string x "%s
>63 string x \b%s"
0 string begin\x20 uuencoded data,
>9 byte !0x20 invalid format,
>6 byte <0x30 invalid permissions,
>6 byte >0x39 invalid permissions,
>7 byte <0x30 invalid permissions,
>7 byte >0x39 invalid permissions,
>8 byte <0x30 invalid permissions,
>8 byte >0x39 invalid permissions,
>10 string x file name: "%s",
>6 string x file permissions: "%.3s"
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