searchsploit - quick fixes

This commit is contained in:
g0tmi1k 2016-03-16 12:28:56 +00:00
parent ea96f111cd
commit e40fc6ca09

View file

@ -60,7 +60,7 @@ function usage()
echo " * Use any number of search terms, in any order." echo " * Use any number of search terms, in any order."
echo " * Search terms are not case sensitive, and order is irrelevant." 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 '-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 " * Could possibly remove false positives (especially when searching numbers)."
echo " * When updating from git or displaying help, search terms will be ignored." echo " * When updating from git or displaying help, search terms will be ignored."
echo "" echo ""
@ -70,6 +70,7 @@ function usage()
## Update database (via GIT) ## Update database (via GIT)
function update() function update()
{ {
mkdir -p "${gitpath}/"
cd "${gitpath}/" cd "${gitpath}/"
# Make sure a git repo is init before updating # Make sure a git repo is init before updating