diff --git a/searchsploit b/searchsploit index 9caea67e9..ecc48b1f0 100755 --- a/searchsploit +++ b/searchsploit @@ -60,7 +60,7 @@ function usage() echo " * Use any number of search terms, in any order." echo " * Search terms are not case sensitive, and order is irrelevant." echo " * Use '-c' if you wish to reduce results by case-sensitive searching." - echo "* Use '-t' to exclude the file's path to filter the search results." + echo " * Use '-t' to exclude the file's path to filter the search results." echo " * Could possibly remove false positives (especially when searching numbers)." echo " * When updating from git or displaying help, search terms will be ignored." echo "" @@ -70,6 +70,7 @@ function usage() ## Update database (via GIT) function update() { + mkdir -p "${gitpath}/" cd "${gitpath}/" # Make sure a git repo is init before updating @@ -142,7 +143,7 @@ for param in "$@"; do shift continue fi - TAGS="${TAGS} ${param}" + TAGS="${TAGS} ${param//\`/_}" fi done