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-depend
binwalk
Commits
ad90ba0b
Commit
ad90ba0b
authored
Nov 10, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor shebang signature changes
parent
2bc8ab68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
magic.py
src/binwalk/core/magic.py
+1
-1
executables
src/binwalk/magic/executables
+2
-2
No files found.
src/binwalk/core/magic.py
View file @
ad90ba0b
...
@@ -744,7 +744,7 @@ class Magic(object):
...
@@ -744,7 +744,7 @@ class Magic(object):
# Split at the first comment delimiter (if any) and strip the result
# Split at the first comment delimiter (if any) and strip the result
line
=
line
.
split
(
'#'
)[
0
]
.
strip
()
line
=
line
.
split
(
'#'
)[
0
]
.
strip
()
# Ignore blank lines and lines that are nothing but comments.
# Ignore blank lines and lines that are nothing but comments.
# We also don't support the
!mime
style line entries.
# We also don't support the
'!mime'
style line entries.
if
line
and
line
[
0
]
!=
'!'
:
if
line
and
line
[
0
]
!=
'!'
:
# Parse this signature line
# Parse this signature line
sigline
=
SignatureLine
(
line
)
sigline
=
SignatureLine
(
line
)
...
...
src/binwalk/magic/executables
View file @
ad90ba0b
...
@@ -477,12 +477,12 @@
...
@@ -477,12 +477,12 @@
>8 leshort <0x2911 {invalid}
>8 leshort <0x2911 {invalid}
>8 leshort >0x2e92 {invalid}
>8 leshort >0x2e92 {invalid}
0 string \x23
!/
Executable script,
0 string \x23
\x21/
Executable script,
>6 byte !0x2F
>6 byte !0x2F
>>7 byte !0x2F {invalid}
>>7 byte !0x2F {invalid}
>2 string x shebang: "%s"
>2 string x shebang: "%s"
0 string \x23
!\x20/
Executable script,
0 string \x23
\x21\x20/
Executable script,
>7 byte !0x2F
>7 byte !0x2F
>>8 byte !0x2F {invalid}
>>8 byte !0x2F {invalid}
>3 string x shebang: "%s"
>3 string x shebang: "%s"
...
...
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