Commit c40c13bf by devttys0

Updated code comments, fixed easy_install.sh bug.

parent 4a913864
......@@ -10,14 +10,20 @@ from binwalk.common import strings
from binwalk.prettyprint import PrettyPrint
class HashResult(object):
'''
Class for storing libfuzzy hash results.
For internal use only.
'''
def __init__(self, name, hash=None, strings=None):
self.name = name
self.hash = hash
self.strings = strings
class HashMatch(object):
'''
Class for fuzzy hash matching of files and directories.
'''
# Requires libfuzzy.so
LIBRARY_NAME = "fuzzy"
......
......@@ -72,7 +72,7 @@ function pyqtgraph
echo "Installing pyqtgraph..."
tar -zxvf "$OUTFILE"
cd "pyqtgraph-$VERSION" && $SUDO python ./setup.py install && cd ..
$SUDO rm -rf "pyqtgraph-$VERSION"
$SUDO rm -rf "pyqtgraph-$VERSION" "$OUTFILE"
else
echo "ERROR: Failed to download '$URL'!"
echo "pyqtgraph not installed."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment