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
|
iptables-nftables-compat
|
||||||
dhcpdump
|
dhcpdump
|
||||||
|
|
||||||
(writeShellScriptBin "searchsploit" ''
|
unstable.exploitdb
|
||||||
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 = {
|
||||||
|
|
Loading…
Reference in a new issue