Setup searchsploit_rc.

This commit is contained in:
David Tomaschik
2020-03-31 10:20:50 -07:00
parent 6492beb726
commit 72b82ff2e3

View File

@@ -270,6 +270,8 @@ case ${TOOL} in
https://github.com/offensive-security/exploitdb.git \
"${DESTDIR}"
add_bin_symlink searchsploit
cp "${DESTDIR}/.searchsploit_rc" "${HOME}/.searchsploit_rc"
sed -i "s|/opt/exploitdb|${DESTDIR}|" "${HOME}/.searchsploit_rc"
;;
*)
echo "Unknown tool: ${TOOL}" >/dev/stderr