Add path information in output (Copying & updating)
This commit is contained in:
parent
0417b1f9e8
commit
b543db6a5b
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Name: SearchSploit - Exploit-DB's CLI search tool
|
# Name: SearchSploit - Exploit-DB's CLI search tool
|
||||||
# Version: 3.8.2 (Release date: 2017-06-26)
|
# Version: 3.8.3 (Release date: 2017-08-29)
|
||||||
# Written by: Offensive Security, Unix-Ninja, and g0tmi1k
|
# Written by: Offensive Security, Unix-Ninja, and g0tmi1k
|
||||||
# Homepage: https://github.com/offensive-security/exploit-database
|
# Homepage: https://github.com/offensive-security/exploit-database
|
||||||
# Manual: https://www.exploit-db.com/searchsploit/
|
# Manual: https://www.exploit-db.com/searchsploit/
|
||||||
|
@ -197,6 +197,7 @@ function updategit()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "\n[*] Git update finished."
|
echo -e "\n[*] Git update finished."
|
||||||
|
echo "[i] Path: ${gitpath}/platforms/"
|
||||||
exit 6
|
exit 6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -565,7 +566,7 @@ if [[ "${GETPATH}" -eq 1 ]]; then
|
||||||
|
|
||||||
if [[ "${MIRROR}" -eq 1 ]]; then
|
if [[ "${MIRROR}" -eq 1 ]]; then
|
||||||
cp -i "${location}" "$( pwd )/"
|
cp -i "${location}" "$( pwd )/"
|
||||||
echo "Copied to '$( pwd )/'"
|
echo "Copied to: $( pwd )/$( basename ${location} )"
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue