52 lines
1.2 KiB
Nix
52 lines
1.2 KiB
Nix
{
|
|
description = ''
|
|
'';
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
dig
|
|
dirb # Web content scanner
|
|
exploitdb # Archive of public exploits and corresponding vulnerable software
|
|
ghidra-bin # Software Reverse Engineering
|
|
hash-identifier
|
|
john # Password cracker
|
|
ltrace # Library call tracer
|
|
metasploit # collection of exploits
|
|
nikto # Web server scanner
|
|
nmap # Network discovery
|
|
smbclient-ng # SMB
|
|
social-engineer-toolkit
|
|
strace # System call tracer
|
|
thc-hydra # Logon cracker
|
|
tshark
|
|
|
|
(wordlists.override { lists = with pkgs; [
|
|
rockyou
|
|
]; })
|
|
|
|
steam-run
|
|
];
|
|
|
|
shellHook = ''
|
|
mkdir -p ~/Downloads/TryHackMe
|
|
cd $_
|
|
python -m venv .venv
|
|
source .venv/bin/activate
|
|
'';
|
|
};
|
|
});
|
|
}
|
|
|