Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
binwalk
Commits
ea23f88d
Commit
ea23f88d
authored
Oct 22, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added uuencode file signature
parent
5996915f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
signature.py
src/binwalk/modules/signature.py
+3
-1
misc
src/magic/misc
+18
-2
No files found.
src/binwalk/modules/signature.py
View file @
ea23f88d
...
...
@@ -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
...
...
src/magic/misc
View file @
ea23f88d
...
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment