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
c40c13bf
Commit
c40c13bf
authored
Nov 22, 2013
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated code comments, fixed easy_install.sh bug.
parent
4a913864
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
hashmatch.py
src/binwalk/hashmatch.py
+7
-1
easy_install.sh
src/easy_install.sh
+1
-1
No files found.
src/binwalk/hashmatch.py
View file @
c40c13bf
...
@@ -10,6 +10,10 @@ from binwalk.common import strings
...
@@ -10,6 +10,10 @@ from binwalk.common import strings
from
binwalk.prettyprint
import
PrettyPrint
from
binwalk.prettyprint
import
PrettyPrint
class
HashResult
(
object
):
class
HashResult
(
object
):
'''
Class for storing libfuzzy hash results.
For internal use only.
'''
def
__init__
(
self
,
name
,
hash
=
None
,
strings
=
None
):
def
__init__
(
self
,
name
,
hash
=
None
,
strings
=
None
):
self
.
name
=
name
self
.
name
=
name
...
@@ -17,7 +21,9 @@ class HashResult(object):
...
@@ -17,7 +21,9 @@ class HashResult(object):
self
.
strings
=
strings
self
.
strings
=
strings
class
HashMatch
(
object
):
class
HashMatch
(
object
):
'''
Class for fuzzy hash matching of files and directories.
'''
# Requires libfuzzy.so
# Requires libfuzzy.so
LIBRARY_NAME
=
"fuzzy"
LIBRARY_NAME
=
"fuzzy"
...
...
src/easy_install.sh
View file @
c40c13bf
...
@@ -72,7 +72,7 @@ function pyqtgraph
...
@@ -72,7 +72,7 @@ function pyqtgraph
echo
"Installing pyqtgraph..."
echo
"Installing pyqtgraph..."
tar
-zxvf
"
$OUTFILE
"
tar
-zxvf
"
$OUTFILE
"
cd
"pyqtgraph-
$VERSION
"
&&
$SUDO
python ./setup.py install
&&
cd
..
cd
"pyqtgraph-
$VERSION
"
&&
$SUDO
python ./setup.py install
&&
cd
..
$SUDO
rm
-rf
"pyqtgraph-
$VERSION
"
$SUDO
rm
-rf
"pyqtgraph-
$VERSION
"
"
$OUTFILE
"
else
else
echo
"ERROR: Failed to download '
$URL
'!"
echo
"ERROR: Failed to download '
$URL
'!"
echo
"pyqtgraph not installed."
echo
"pyqtgraph not installed."
...
...
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