Commit c40c13bf by devttys0

Updated code comments, fixed easy_install.sh bug.

parent 4a913864
...@@ -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"
......
...@@ -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."
......
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