57 lines
1.3 KiB
Nix
57 lines
1.3 KiB
Nix
{ pkgs, system }:
|
|
|
|
pkgs.mkShell {
|
|
name = "hack";
|
|
|
|
buildInputs = with pkgs; [
|
|
# Binary Exploitation / Reverse Engineering
|
|
gcc
|
|
gdb
|
|
gef # GDB Enhanced Features (pretty stack/heap views)
|
|
radare2 # reverse engineering framework
|
|
ghidra # NSA decompiler
|
|
binwalk # firmware / file carving
|
|
file
|
|
ltrace
|
|
strace
|
|
checksec # check binary mitigations
|
|
patchelf # Running external binaries on NixOS
|
|
|
|
# Python
|
|
pycdc
|
|
(python3.withPackages (ps: with ps; [
|
|
pwntools # exploit dev: tubes, asm, ROP, ELF, …
|
|
pycryptodome # crypto primitives (AES, RSA, hashes, …)
|
|
requests # HTTP
|
|
pyotp # OTP
|
|
beautifulsoup4 # HTML scraping
|
|
sympy # symbolic math (useful in crypto)
|
|
z3-solver # SMT solver (constraint solving, reversing)
|
|
pillow # image manipulation (stego)
|
|
gmpy2 # fast big-integer math (RSA attacks)
|
|
]))
|
|
|
|
# Web Exploitation
|
|
ffuf
|
|
|
|
# Cryptography
|
|
openssl
|
|
|
|
# Network Exploitation
|
|
openvpn
|
|
sqlmap
|
|
|
|
# Stenography
|
|
stegseek
|
|
steghide
|
|
exiftool
|
|
|
|
# Manuals
|
|
man-pages
|
|
man-pages-posix
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "Hacking system ready"
|
|
'';
|
|
} |