10 pname = "hb-honeypot";
11 version = "0-unstable-2024-02-13";
13 src = fetchFromGitHub {
16 rev = "06ca7336bfb7deca54eae2cee239496d26f21b5b";
17 hash = "sha256-vnq7u/sqDLD+PsZ9DlxfjNuTkO8lhZujjAgmTcWf/3I=";
20 nativeBuildInputs = [ makeWrapper ];
24 mkdir -p $out/{bin,share/hb-honeypot}
25 cp hb-honeypot.pl $out/share/hb-honeypot/
26 makeWrapper ${perl}/bin/perl $out/bin/hb-honeypot \
27 --add-flags "$out/share/hb-honeypot/hb-honeypot.pl"
32 description = "Script that listens on TCP port 443 and responds with completely bogus SSL heartbeat responses";
33 mainProgram = "hb-honeypot";
34 homepage = "https://github.com/D3vil0p3r/hb-honeypot";
35 maintainers = with maintainers; [ d3vil0p3r ];
36 platforms = platforms.unix;
37 license = licenses.gpl3Plus;