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
459886a7
Commit
459886a7
authored
Nov 18, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added coldfire binarch signature; fixed file signature for arcadyan firmware
parent
0b95ff68
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
14 deletions
+17
-14
magic.py
src/binwalk/core/magic.py
+4
-1
binarch
src/binwalk/magic/binarch
+6
-1
filesystems
src/binwalk/magic/filesystems
+4
-9
firmware
src/binwalk/magic/firmware
+3
-3
No files found.
src/binwalk/core/magic.py
View file @
459886a7
...
...
@@ -275,8 +275,11 @@ class Signature(object):
self
.
lines
=
[
first_line
]
self
.
title
=
first_line
.
format
self
.
offset
=
first_line
.
offset
self
.
confidence
=
first_line
.
size
self
.
regex
=
self
.
_generate_regex
(
first_line
)
try
:
self
.
confidence
=
first_line
.
tags
[
'confidence'
]
except
KeyError
:
self
.
confidence
=
first_line
.
size
def
_generate_regex
(
self
,
line
):
'''
...
...
src/binwalk/magic/binarch
View file @
459886a7
...
...
@@ -120,5 +120,10 @@
# push esi
0 string \x55\x89\xE5\x83\xEC Intel x86 instructions, function prologue
0 string \x55\x89\xE5\x57\x56 Intel x86 instructions, function prologue
0 string \x90\x90\x90\x90\x90\x90\x90\x90 Intel x86 instructions, nops{jump:8}
0 string \x90\x90\x90\x90\x90\x90\x90\x90 Intel x86 instructions, nops{jump:8}{overlap}
# unlk a6
# rts
# link a6, XX
0 string N^NuNV Motorola Coldfire instructions, function prologue/epilogue
src/binwalk/magic/filesystems
View file @
459886a7
...
...
@@ -115,6 +115,7 @@
>12 ubelong !0 {invalid}
>28 string !\x00*12 {invalid}
# http://lxr.free-electrons.com/source/fs/ubifs/ubifs-media.h
#0 string UBI\x23 UBI erase count header,
#>4 ubyte x version: %d,
#>5 string !\x00*3 {invalid}
...
...
@@ -123,16 +124,10 @@
#>20 ubelong x data offset: 0x%X
# http://lxr.free-electrons.com/source/fs/ubifs/ubifs-media.h
#0 lelong 0x06101831 UBIFS master node,
#>20 ubyte !7 {invalid} # Only look for the master node
#>22 leshort !0 {invalid}
#>24 lequad x highest inode: %d,
#>32 lequad x commit number: %d
# http://lxr.free-electrons.com/source/fs/ubifs/ubifs-media.h
0 lelong 0x06101831 UBIFS
>20 ubyte <6
>>20 ubyte >7 {invalid} # Only look for superblock and master nodes
>20 ubyte x type: 0x%X
>20 ubyte <6 {invalid}
>20 ubyte >7 {invalid} # Only look for superblock and master nodes
>20 ubyte 7 master node,
>>22 leshort !0 {invalid}
>>24 lequad x highest inode: %d,
...
...
src/binwalk/magic/firmware
View file @
459886a7
...
...
@@ -518,10 +518,10 @@
>18 beshort+16 x data offset from start of block: %d
# Obfuscated Arcadyan firmware
0x68
belong 0x00D508
Obfuscated Arcadyan firmware,
>
3 byte !0
{invalid}
0x68
string \x00\xD5\x08
Obfuscated Arcadyan firmware,
>
0x6B byte !0 invalid signature trailing byte [0x%X],
{invalid}
>0 ubelong x signature bytes: 0x%X,
>0x70 string !\x00\x00\x00\x00\x00\x00
\x00 {invalid},
>0x70 string !\x00\x00\x00\x00\x00\x00
invalid padding bytes,{invalid}
>0x70 belong 0x00000000 see https://github.com/devttys0/wrt120n/deobfuscator
# Digi firmware images
...
...
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