Merge branch 'g0tmi1k-searchsploit'

This commit is contained in:
Offensive Security 2016-03-16 12:36:28 +00:00
commit 48534c54b0

View file

@ -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