15 src = fetchFromGitHub {
19 sha256 = "sha256-OND8WPqU/95rKykqMAPWmDsJ+AjsjGjrncZ2/m3mpt0=";
22 vendorSha256 = "sha256-QKv8F9QLRi+1Bqj9KywJsTErjs7o6gFM4tJLA8y52MY=";
26 nativeBuildInputs = [ pkg-config ];
27 buildInputs = [ libpcap libusb1 ]
28 ++ lib.optionals stdenv.isLinux [ libnfnetlink libnetfilter_queue ];
31 description = "A man in the middle tool";
33 BetterCAP is a powerful, flexible and portable tool created to perform various
34 types of MITM attacks against a network, manipulate HTTP, HTTPS and TCP traffic
35 in realtime, sniff for credentials and much more.
37 homepage = "https://www.bettercap.org/";
38 license = with licenses; [ gpl3Only ];
39 maintainers = with maintainers; [ y0no ];