add searchsploit tool

This commit is contained in:
Sean Buckley 2020-10-08 18:42:56 -04:00
parent 950fb296ae
commit 55c07f02e1

View file

@ -16,6 +16,20 @@
pwndbg pwndbg
thc-hydra thc-hydra
metasploit metasploit
(writeShellScriptBin "searchsploit" ''
set -e
(
cd ~/.cache
[ -e exploitdb ] || git clone https://github.com/offensive-security/exploitdb.git
cd exploitdb
if find .git -maxdepth 0 -cmin +60 | grep -q git
then
git pull
fi
)
exec ~/.cache/exploitdb/searchsploit "$@"
'')
]; ];
programs = { programs = {