Merge branch 'g0tmi1k-searchsploit'
This commit is contained in:
commit
48534c54b0
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
@ -142,7 +143,7 @@ for param in "$@"; do
|
||||||
shift
|
shift
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
TAGS="${TAGS} ${param}"
|
TAGS="${TAGS} ${param//\`/_}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue