mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Setup searchsploit_rc.
This commit is contained in:
@@ -270,6 +270,8 @@ case ${TOOL} in
|
|||||||
https://github.com/offensive-security/exploitdb.git \
|
https://github.com/offensive-security/exploitdb.git \
|
||||||
"${DESTDIR}"
|
"${DESTDIR}"
|
||||||
add_bin_symlink searchsploit
|
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
|
echo "Unknown tool: ${TOOL}" >/dev/stderr
|
||||||
|
|||||||
Reference in New Issue
Block a user