From cf69efdfcaf4a884ed464b384f5d931fa287d414 Mon Sep 17 00:00:00 2001 From: Conny Brunnkvist Date: Tue, 4 Aug 2015 17:55:24 +0700 Subject: [PATCH] Use dir of searchsploit to find files.csv --- searchsploit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searchsploit b/searchsploit index 9caea67e9..601653929 100755 --- a/searchsploit +++ b/searchsploit @@ -11,7 +11,7 @@ ## OS settings -gitpath="/usr/share/exploitdb" +gitpath=$(dirname "$(readlink "$0")") csvpath="${gitpath}/files.csv" ## Program settings