6 python3.pkgs.buildPythonApplication rec {
7 pname = "log4shell-detector";
8 version = "unstable-2021-12-16";
11 src = fetchFromGitHub {
14 rev = "622b88e7ea36819da23ce6ac090785cd6cca77f9";
15 sha256 = "sha256-N81x9hq473LfM+bQIQLWizCAsVc/pzyB84PV7/N5jk4=";
18 propagatedBuildInputs = with python3.pkgs; [
22 checkInputs = with python3.pkgs; [
28 install -vD ${pname}.py $out/bin/${pname}
29 install -vd $out/${python3.sitePackages}/
30 cp -R Log4ShellDetector $out/${python3.sitePackages}
35 description = "Detector for Log4Shell exploitation attempts";
36 homepage = "https://github.com/Neo23x0/log4shell-detector";
37 license = licenses.mit;
38 maintainers = with maintainers; [ fab ];