# modules/features/pentest/reversing.nix — binary analysis and exploit dev. # Off by default. `daemon.pentest.reversing.enable = true;` # # The standalone `checksec` package is deliberately NOT here: pwntools already # installs bin/checksec, and two packages owning the same name is a profile # collision that stops the system building (same class of bug as the impacket # aliases — see _aliases.nix). pwntools' version is the one you get. # # ghidra and cutter are windowed; they live in gui.nix. { lib, ... }: (import ./_sets.nix { inherit lib; }) { name = "reversing"; description = "disassembly, decompilation and exploit development"; default = false; packages = pkgs: with pkgs; [ radare2 # `r2` rizin gef # gdb extension gdb pwntools # pwn, asm, disasm, cyclic, checksec, … one_gadget pwninit flare-floss # `floss` patchelf binutils ropgadget # `ROPgadget` strace ltrace ]; expectedBins = [ "r2" "rizin" "gef" "gdb" "asm" "disasm" "cyclic" "checksec" "one_gadget" "pwninit" "floss" "patchelf" "objdump" "readelf" "ROPgadget" "strace" "ltrace" ]; }