aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Baumstark <niklas.baumstark@gmail.com>2015-08-28 17:49:47 +0200
committerNiklas Baumstark <niklas.baumstark@gmail.com>2015-08-28 17:49:47 +0200
commit1e4ed99b82147f20996efb38e8a73d3bd3c87928 (patch)
treef8b0e778d2dd039280f856fe5ad9421eadd078c0
parentfce5732e5541a21c7f1ca2478b4dceb52152823d (diff)
parent513988e0f29d4412c15a8bc1249c26bf7a9c07ba (diff)
downloadlibc-database-1e4ed99b82147f20996efb38e8a73d3bd3c87928.tar.gz
libc-database-1e4ed99b82147f20996efb38e8a73d3bd3c87928.zip
Merge pull request #1 from ykram/master
Fix identify matching against binaries
-rwxr-xr-xidentify2
1 files changed, 1 insertions, 1 deletions
diff --git a/identify b/identify
index 93f8586..1547261 100755
--- a/identify
+++ b/identify
@@ -5,4 +5,4 @@ if [[ $# != 1 ]]; then
fi
libc=$1
sha1=`sha1sum $libc`
-sha1sum db/*.so | grep $sha1
+sha1sum db/*.so | grep `echo $sha1 | awk '{print $1 }'`