Update comments
This commit is contained in:
parent
142f38c279
commit
8cb55f5f95
1 changed files with 6 additions and 6 deletions
|
@ -45,13 +45,13 @@ COLOUR_OFF_GREP=
|
||||||
COLOUR_ON_GREP=
|
COLOUR_ON_GREP=
|
||||||
REGEX_GREP=
|
REGEX_GREP=
|
||||||
|
|
||||||
## Check if our grep supports --color
|
## Check if our grep supports --color (BSD vs GNU)
|
||||||
if grep --help 2>&1 | grep "[-]-color" >/dev/null 2>&1; then
|
if grep --help 2>&1 | grep "[-]-color" >/dev/null 2>&1; then
|
||||||
COLOUR_OFF_GREP="--color=never"
|
COLOUR_OFF_GREP="--color=never"
|
||||||
COLOUR_ON_GREP="--color=always"
|
COLOUR_ON_GREP="--color=always"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Check if our grep supports --perl-regexp
|
## Check if our grep supports --perl-regexp (BSD vs GNU)
|
||||||
if grep --help 2>&1 | grep "[-]-perl-regexp" >/dev/null 2>&1; then
|
if grep --help 2>&1 | grep "[-]-perl-regexp" >/dev/null 2>&1; then
|
||||||
REGEX_GREP="-P"
|
REGEX_GREP="-P"
|
||||||
else
|
else
|
||||||
|
@ -914,7 +914,7 @@ if [[ "${GETPATH}" -eq 1 ]]; then
|
||||||
printf "%-${PADDING}s%s"
|
printf "%-${PADDING}s%s"
|
||||||
echo "${name}: ${title}"
|
echo "${name}: ${title}"
|
||||||
echo " URL: https://www.exploit-db.com/${url}"
|
echo " URL: https://www.exploit-db.com/${url}"
|
||||||
## Handy when dong --mirror
|
## Path is useful doing --mirror
|
||||||
echo " Path: ${location}"
|
echo " Path: ${location}"
|
||||||
echo " Codes: ${codes}"
|
echo " Codes: ${codes}"
|
||||||
echo " Verified: ${verified}"
|
echo " Verified: ${verified}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue