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
4151ec1b
Commit
4151ec1b
authored
Dec 01, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #89 from ssem/master
added Stuffit Support
parents
8a526731
a2173c0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
extract.conf
src/binwalk/config/extract.conf
+2
-1
compressed
src/binwalk/magic/compressed
+19
-4
No files found.
src/binwalk/config/extract.conf
View file @
4151ec1b
#################################################################################################################
# Default extraction rules, loaded when --extract is specified.
#
#
# <lower-case unique string from binwalk output text>:<desired file extension>:<command to execute>
#
# Note that %e is a place holder for the extracted file name.
...
...
@@ -37,6 +37,7 @@
^
lha
:
lha
:
lha
ei
'%e'
^
iso
9660
:
iso
:
7
z
x
'%e'
-
oiso
-
root
^
microsoft
cabinet
archive
:
cab
:
cabextract
'%e'
^
stuffit
:
sit
:
unstuff
'%e'
# Try unsquashfs first, or if not installed, sasquatch
^
squashfs
filesystem
:
squashfs
:
unsquashfs
-
d
'%%squashfs-root%%'
'%e'
...
...
src/binwalk/magic/compressed
View file @
4151ec1b
#------------------Compression Formats-----------------------------
# Stuffit archives are the de facto standard of compression for Macintosh
# # files obtained from most archives. (franklsm@tuns.ca)
0 string SIT! StuffIt Archive (data)
!:mime application/x-stuffit
!:apple SIT!SIT!
>2 string x : %s
0 string SITD StuffIt Deluxe (data)
>2 string x : %s
0 string Sef StuffIt Deluxe Segment (data)
>2 string x : %s
# Newer StuffIt archives (grant@netbsd.org)
0 string StuffIt StuffIt Archive
!:mime application/x-stuffit
!:apple SIT!SIT!
# AFX compressed files (Wolfram Kleff)
2 string -afx AFX compressed file data
...
...
@@ -55,7 +70,7 @@
>>17 byte =0x0B os: WinNT
>>17 byte =0x0E os: Win32
# lzip
# lzip
0 string LZIP lzip compressed data,
>4 ubyte 0 {invalid}
# Current version is still 1.x
...
...
@@ -69,11 +84,11 @@
0 string \211LZO\000\015\012\032\012 LZO compressed data
# 7-zip archiver, from Thomas Klausner (wiz@danbala.tuwien.ac.at)
# http://www.7-zip.org or DOC/7zFormat.txt
# http://www.7-zip.org or DOC/7zFormat.txt
#
0 string 7z\274\257\047\034 7-zip archive data,
>6 byte <0 {invalid}
>6 byte 0
>6 byte 0
>>7 byte 0 {invalid}
>6 byte >20 {invalid}
>6 byte x version %d
...
...
@@ -127,7 +142,7 @@
# case you don't know how to set a date in your gzip files. Brilliant.
>4 lelong =0 \b, NULL date:
>4 lelong <0 {invalid}
>4 lelong >0
>4 lelong >0
>>4 lelong <694224000 {invalid}
>>4 lelong =694224000 {invalid}
>>4 lelong >694224000 \b, last modified:
...
...
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