nixos-config/modules/security-tools.nix

40 lines
724 B
Nix
Raw Normal View History

2020-09-18 13:54:09 +00:00
{ config, pkgs, ... }:
{
2020-09-24 05:45:48 +00:00
environment.systemPackages = with pkgs; [
exiftool
burpsuite
nmap
masscan
binutils
remmina
openvpn
socat
ghidra-bin
wfuzz
gobuster
dirb
pwndbg
thc-hydra
metasploit
2020-10-08 22:42:56 +00:00
(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 "$@"
'')
2020-09-24 05:45:48 +00:00
];
2020-09-18 13:54:09 +00:00
2020-09-24 05:45:48 +00:00
programs = {
wireshark.enable = true;
wireshark.package = pkgs.wireshark;
};
2020-09-18 13:54:09 +00:00
}