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
10 years ago
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor shebang signature changes
parent
2bc8ab68
master
…
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.2.0
v2.1.1
python27
No related merge requests found
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):
# Split at the first comment delimiter (if any) and strip the result
line
=
line
.
split
(
'#'
)[
0
]
.
strip
()
# 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
]
!=
'!'
:
# Parse this signature line
sigline
=
SignatureLine
(
line
)
...
...
This diff is collapsed.
Click to expand it.
src/binwalk/magic/executables
View file @
ad90ba0b
...
...
@@ -477,12 +477,12 @@
>8 leshort <0x2911 {invalid}
>8 leshort >0x2e92 {invalid}
0 string \x23
!/
Executable script,
0 string \x23
\x21/
Executable script,
>6 byte !0x2F
>>7 byte !0x2F {invalid}
>2 string x shebang: "%s"
0 string \x23
!\x20/
Executable script,
0 string \x23
\x21\x20/
Executable script,
>7 byte !0x2F
>>8 byte !0x2F {invalid}
>3 string x shebang: "%s"
...
...
This diff is collapsed.
Click to expand it.
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