7 python3.pkgs.buildPythonApplication rec {
12 src = fetchFromGitHub {
15 rev = "refs/tags/v${version}";
16 hash = "sha256-BVSA/ZhpGz6UGyDRJUc4nlRJZ1/Y7er1vVOI+IbIqGk=";
23 propagatedBuildInputs = with python3.pkgs; [
30 mkdir -p $out/bin $out/share $out/share/Responder
31 cp -R . $out/share/Responder
33 makeWrapper ${python3.interpreter} $out/bin/responder \
34 --set PYTHONPATH "$PYTHONPATH:$out/bin/Responder.py" \
35 --add-flags "$out/share/Responder/Responder.py" \
36 --run "mkdir -p /tmp/Responder"
38 substituteInPlace $out/share/Responder/Responder.conf \
39 --replace "Responder-Session.log" "/tmp/Responder/Responder-Session.log" \
40 --replace "Poisoners-Session.log" "/tmp/Responder/Poisoners-Session.log" \
41 --replace "Analyzer-Session.log" "/tmp/Responder/Analyzer-Session" \
42 --replace "Config-Responder.log" "/tmp/Responder/Config-Responder.log" \
43 --replace "Responder.db" "/tmp/Responder/Responder.db"
49 description = "LLMNR, NBT-NS and MDNS poisoner, with built-in HTTP/SMB/MSSQL/FTP/LDAP rogue authentication server";
50 mainProgram = "responder";
51 homepage = "https://github.com/lgandx/Responder";
52 changelog = "https://github.com/lgandx/Responder/blob/master/CHANGELOG.md";
53 license = licenses.gpl3Only;
54 maintainers = with maintainers; [ fab ];