8 pname = "confluencepot";
11 src = fetchFromGitHub {
13 repo = "confluencePot";
15 hash = "sha256-jIbL6prOUII8o9FghIYa80BytJ9SSuyj/TZmAxwAbJk=";
18 vendorHash = "sha256-nzPHx+c369T4h9KETqMurxZK3LsJAhwBaunkcWIW3Ps=";
21 substituteInPlace confluencePot.go \
22 --replace "confluence.html" "$out/share/confluence.html"
25 postInstall = lib.optionalString (!stdenv.isDarwin) ''
26 mv $out/bin/confluencePot $out/bin/${pname}
31 install -vD confluence.html -t $out/share
35 description = "Honeypot for the Atlassian Confluence OGNL injection vulnerability";
36 homepage = "https://github.com/SIFalcon/confluencePot";
38 ConfluencePot is a simple honeypot for the Atlassian Confluence unauthenticated
39 and remote OGNL injection vulnerability (CVE-2022-26134).
41 license = with licenses; [ agpl3Plus ];
42 maintainers = with maintainers; [ fab ];
43 mainProgram = "confluencepot";