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
570e5a12
Commit
570e5a12
authored
Nov 22, 2013
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added ssdeep source.
parent
c40c13bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
ssdeep-2.10.tar.gz
src/C/ssdeep-2.10.tar.gz
+0
-0
easy_install.sh
src/easy_install.sh
+19
-5
No files found.
src/C/ssdeep-2.10.tar.gz
0 → 100644
View file @
570e5a12
File added
src/easy_install.sh
View file @
570e5a12
...
@@ -57,6 +57,16 @@ function libmagic
...
@@ -57,6 +57,16 @@ function libmagic
fi
fi
}
}
function
libfuzzy
{
VERSION
=
"ssdeep-2.10"
cd
./C
tar
-zxvf
$VERSION
.tar.gz
&&
cd
$VERSION
&&
./configure
&&
make
&&
$SUDO
make install
cd
..
rm
-rf
$VERSION
cd
..
}
function
pyqtgraph
function
pyqtgraph
{
{
SITE
=
"http://www.pyqtgraph.org/downloads/"
SITE
=
"http://www.pyqtgraph.org/downloads/"
...
@@ -90,7 +100,6 @@ function debian
...
@@ -90,7 +100,6 @@ function debian
fi
fi
# Install binwalk/fmk pre-requisites and extraction tools
# Install binwalk/fmk pre-requisites and extraction tools
$SUDO
apt-get
-y
install libfuzzy2
$SUDO
apt-get
-y
install git build-essential mtd-utils zlib1g-dev liblzma-dev ncompress gzip bzip2
tar
arj p7zip p7zip-full openjdk-6-jdk
$SUDO
apt-get
-y
install git build-essential mtd-utils zlib1g-dev liblzma-dev ncompress gzip bzip2
tar
arj p7zip p7zip-full openjdk-6-jdk
$SUDO
apt-get
-y
install python-opengl python-qt4 python-qt4-gl python-numpy python-scipy
$SUDO
apt-get
-y
install python-opengl python-qt4 python-qt4-gl python-numpy python-scipy
}
}
...
@@ -98,7 +107,6 @@ function debian
...
@@ -98,7 +107,6 @@ function debian
function
redhat
function
redhat
{
{
$SUDO
yum groupinstall
-y
"Development Tools"
$SUDO
yum groupinstall
-y
"Development Tools"
$SUDO
yum install
-y
libfuzzy2
# TODO: Is there a libfuzzy2 package for RHEL?
$SUDO
yum install
-y
git mtd-utils unrar zlib1g-dev liblzma-dev xz-devel compress gzip bzip2
tar
arj p7zip p7zip-full openjdk-6-jdk
$SUDO
yum install
-y
git mtd-utils unrar zlib1g-dev liblzma-dev xz-devel compress gzip bzip2
tar
arj p7zip p7zip-full openjdk-6-jdk
$SUDO
yum install
-y
python-opengl python-qt4 python-qt4-gl python-numpy python-scipy
$SUDO
yum install
-y
python-opengl python-qt4 python-qt4-gl python-numpy python-scipy
}
}
...
@@ -160,18 +168,24 @@ esac
...
@@ -160,18 +168,24 @@ esac
if
[
"
$(
python
-c
'import magic; print (magic.MAGIC_NO_CHECK_TEXT)'
2>/dev/null
)
"
==
""
]
if
[
"
$(
python
-c
'import magic; print (magic.MAGIC_NO_CHECK_TEXT)'
2>/dev/null
)
"
==
""
]
then
then
echo
"python-magic not installed, or wrong version."
echo
"python-magic not installed, or wrong version
; building from source..
."
libmagic
libmagic
fi
fi
if
[
"
$(
python
-c
'import pyqtgraph; print (pyqtgraph.__file__)'
2>/dev/null
)
"
==
""
]
if
[
"
$(
python
-c
'import pyqtgraph; print (pyqtgraph.__file__)'
2>/dev/null
)
"
==
""
]
then
then
echo
"pyqtgraph not installed."
echo
"pyqtgraph not installed
; building from source..
."
pyqtgraph
pyqtgraph
fi
fi
if
[
"
$(
python
-c
'import ctypes.util; print (ctypes.util.find_library("fuzzy"))'
)
"
==
"None"
]
then
echo
"libfuzzy not installed; building from source..."
libfuzzy
fi
# Get and build the firmware mod kit
# Get and build the firmware mod kit
fmk
#
fmk
# Install binwalk
# Install binwalk
$SUDO
python setup.py install
$SUDO
python setup.py install
...
...
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