mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
update exploitdb
This commit is contained in:
parent
1903314a6b
commit
a4b90b39a3
1 changed files with 1 additions and 13 deletions
|
@ -27,19 +27,7 @@ in
|
|||
iptables-nftables-compat
|
||||
dhcpdump
|
||||
|
||||
(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 "$@"
|
||||
'')
|
||||
unstable.exploitdb
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
|
Loading…
Reference in a new issue