nixos-config/pkgs/security-toolbox/default.nix
2021-11-01 14:45:18 -04:00

80 lines
1.3 KiB
Nix

{ symlinkJoin
, writeShellScriptBin
, ungoogled-chromium
, binutils
, bridge-utils
, dhcpdump
, dirb
, exiftool
, gef
, ghidra-bin
, gobuster
, iptables-nftables-compat
, macchanger
, masscan
, metasploit
, net-snmp
, nmap
, openvpn
, remmina
, socat
, thc-hydra
, webshells
, weevely
, wfuzz
, burpsuite
, postman
}:
let
proxybrowser = writeShellScriptBin "proxybrowser" ''
exec ${ungoogled-chromium}/bin/chromium \
--disable-background-networking \
--disable-default-apps \
--disable-plugins-discovery \
--disk-cache-size=0 \
--ignore-certificate-errors \
--no-default-browser-check \
--no-experiments \
--no-first-run \
--no-pings \
--no-service-autorun \
--user-data-dir="$HOME/.proxybrowser" \
--proxy-server="localhost:8080" \
--proxy-bypass-list='<-loopback>'
'';
in
symlinkJoin {
name = "security-toolbox";
paths =
[
proxybrowser
binutils
bridge-utils
dhcpdump
dirb
exiftool
gef
ghidra-bin
gobuster
iptables-nftables-compat
macchanger
masscan
metasploit
net-snmp
nmap
openvpn
remmina
socat
thc-hydra
webshells
weevely
wfuzz
(burpsuite.overrideAttrs (_: { meta = { }; }))
(postman.overrideAttrs (_: { meta = { }; }))
];
}