whitespace

This commit is contained in:
Sean Buckley 2021-03-28 02:52:09 -04:00
parent 26a4c68b1f
commit c5f29c9bcb

View file

@ -6,48 +6,48 @@ in
options.sconfig.security-tools = lib.mkEnableOption "Enable security tools"; options.sconfig.security-tools = lib.mkEnableOption "Enable security tools";
config = lib.mkIf cfg { config = lib.mkIf cfg {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
exiftool exiftool
burpsuite burpsuite
nmap nmap
masscan masscan
binutils binutils
remmina remmina
openvpn openvpn
socat socat
ghidra-bin ghidra-bin
wfuzz wfuzz
gobuster gobuster
dirb dirb
pwndbg pwndbg
thc-hydra thc-hydra
metasploit metasploit
(callPackage ../pkgs/binary-ninja-personal { }) (callPackage ../pkgs/binary-ninja-personal { })
(writeShellScriptBin "searchsploit" '' (writeShellScriptBin "searchsploit" ''
set -e set -e
( (
cd ~/.cache cd ~/.cache
[ -e exploitdb ] || git clone https://github.com/offensive-security/exploitdb.git [ -e exploitdb ] || git clone https://github.com/offensive-security/exploitdb.git
cd exploitdb cd exploitdb
if find .git -maxdepth 0 -cmin +60 | grep -q git if find .git -maxdepth 0 -cmin +60 | grep -q git
then then
git pull git pull
fi fi
) )
exec ~/.cache/exploitdb/searchsploit "$@" exec ~/.cache/exploitdb/searchsploit "$@"
'') '')
]; ];
programs = { programs = {
wireshark.enable = true; wireshark.enable = true;
wireshark.package = pkgs.wireshark; wireshark.package = pkgs.wireshark;
}; };
users.users.sandy = { users.users.sandy = {
isNormalUser = true; isNormalUser = true;
isSystemUser = true; isSystemUser = true;
}; };
}; };
} }