Add path information in output (Copying & updating)

This commit is contained in:
g0tmi1k 2017-08-29 11:44:36 +01:00
parent 0417b1f9e8
commit b543db6a5b

View file

@ -1,6 +1,6 @@
#!/bin/bash
# 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
# Homepage: https://github.com/offensive-security/exploit-database
# Manual: https://www.exploit-db.com/searchsploit/
@ -197,6 +197,7 @@ function updategit()
fi
echo -e "\n[*] Git update finished."
echo "[i] Path: ${gitpath}/platforms/"
exit 6
}
@ -565,7 +566,7 @@ if [[ "${GETPATH}" -eq 1 ]]; then
if [[ "${MIRROR}" -eq 1 ]]; then
cp -i "${location}" "$( pwd )/"
echo "Copied to '$( pwd )/'"
echo "Copied to: $( pwd )/$( basename ${location} )"
echo -e "\n"
fi
else