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
8278229c
Commit
8278229c
authored
Sep 16, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated extract.conf, fixed OSX install bug in setup.py
parent
8db7bd2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
setup.py
setup.py
+3
-2
extract.conf
src/binwalk/config/extract.conf
+10
-8
No files found.
setup.py
View file @
8278229c
...
...
@@ -58,10 +58,10 @@ def remove_binwalk_module(pydir=None, pybin=None):
remove_tree
(
path
)
except
OSError
as
e
:
pass
if
not
pybin
:
pybin
=
which
(
MODULE_NAME
)
if
pybin
:
try
:
print
(
"removing '
%
s'"
%
pybin
)
...
...
@@ -140,6 +140,7 @@ if "install" in sys.argv or "build" in sys.argv:
# The data files to install along with the module
data_dirs
=
[
"magic"
,
"config"
,
"plugins"
,
"modules"
,
"core"
]
install_data_files
=
[
os
.
path
.
join
(
"libs"
,
"*.so"
)]
install_data_files
=
[
os
.
path
.
join
(
"libs"
,
"*.dylib"
)]
for
data_dir
in
data_dirs
:
install_data_files
.
append
(
"
%
s
%
s*"
%
(
data_dir
,
os
.
path
.
sep
))
...
...
src/binwalk/config/extract.conf
View file @
8278229c
...
...
@@ -30,19 +30,21 @@
^
squashfs
filesystem
:
squashfs
:/
opt
/
firmware
-
mod
-
kit
/
unsquashfs_all
.
sh
'%e'
^
jffs2
filesystem
:
jffs2
:/
opt
/
firmware
-
mod
-
kit
/
src
/
jffs2
/
unjffs2
'%e'
^
ascii
cpio
archive
:
cpio
:/
opt
/
firmware
-
mod
-
kit
/
uncpio
.
sh
'%e'
^
cramfs
filesystem
:
cramfs
:/
opt
/
firmware
-
mod
-
kit
/
uncramfs_all
.
sh
'%e'
^
bff
volume
entry
:
bff
:/
opt
/
firmware
-
mod
-
kit
/
src
/
bff
/
bffxtractor
.
py
'%e'
^
wdk
file
system
:
wdk
:/
opt
/
firmware
-
mod
-
kit
/
src
/
firmware
-
tools
/
unwdk
.
py
'%e'
#
^cramfs filesystem:cramfs:/opt/firmware-mod-kit/uncramfs_all.sh '%e'
#
^bff volume entry:bff:/opt/firmware-mod-kit/src/bff/bffxtractor.py '%e'
#
^wdk file system:wdk:/opt/firmware-mod-kit/src/firmware-tools/unwdk.py '%e'
^
zlib
compressed
data
:
zlib
:/
opt
/
firmware
-
mod
-
kit
/
src
/
firmware
-
tools
/
unzlib
.
py
'%e'
^
cramfs
filesystem
:
cramfs
:
mkdir
cramfs
-
root
&&
mount
-
t
cramfs
'%e'
cramfs
-
root
^
ext2
filesystem
:
ext2
:
mkdir
ext2
-
root
&&
mount
-
t
ext2
'%e'
ext2
-
root
^
romfs
filesystem
:
romfs
:
mkdir
romfs
-
root
&&
mount
-
t
romfs
'%e'
romfs
-
root
# These will only be run if the above file paths don't exist / don't work.
^
squashfs
filesystem
:
squashfs
:/
opt
/
firmware
-
mod
-
kit
/
trunk
/
unsquashfs_all
.
sh
'%e'
^
jffs2
filesystem
:
jffs2
:/
opt
/
firmware
-
mod
-
kit
/
trunk
/
src
/
jffs2
/
unjffs2
'%e'
# requires root
^
ascii
cpio
archive
:
cpio
:/
opt
/
firmware
-
mod
-
kit
/
trunk
/
uncpio
.
sh
'%e'
^
cramfs
filesystem
:
cramfs
:/
opt
/
firmware
-
mod
-
kit
/
trunk
/
uncramfs_all
.
sh
'%e'
^
bff
volume
entry
:
bff
:/
opt
/
firmware
-
mod
-
kit
/
trunk
/
src
/
bff
/
bffxtractor
.
py
'%e'
#
^squashfs filesystem:squashfs:/opt/firmware-mod-kit/trunk/unsquashfs_all.sh '%e'
#
^jffs2 filesystem:jffs2:/opt/firmware-mod-kit/trunk/src/jffs2/unjffs2 '%e' # requires root
#
^ascii cpio archive:cpio:/opt/firmware-mod-kit/trunk/uncpio.sh '%e'
#
^cramfs filesystem:cramfs:/opt/firmware-mod-kit/trunk/uncramfs_all.sh '%e'
#
^bff volume entry:bff:/opt/firmware-mod-kit/trunk/src/bff/bffxtractor.py '%e'
# Extract, but don't run anything
private
key
:
key
...
...
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