about summary refs log tree commit diff
path: root/pkgs/tools/security/lmp
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-12-15 11:20:32 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-12-15 11:20:32 +0100
commit0a3303415210bf52c3025e4b8ddecc33ed715824 (patch)
tree177768f916b78d6039c485a7fdb18d8a91e032ab /pkgs/tools/security/lmp
parenta53d2afe681ef4c107deddf5896eb2e7460641d5 (diff)
lmp: init at 1.0
Diffstat (limited to 'pkgs/tools/security/lmp')
-rw-r--r--pkgs/tools/security/lmp/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/security/lmp/default.nix b/pkgs/tools/security/lmp/default.nix
new file mode 100644
index 0000000000000..945bbbbd15c36
--- /dev/null
+++ b/pkgs/tools/security/lmp/default.nix
@@ -0,0 +1,25 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+  pname = "lmp";
+  version = "1.0";
+
+  src = fetchFromGitHub {
+    owner = "0xInfection";
+    repo = "LogMePwn";
+    rev = "v${version}";
+    sha256 = "sha256-EDhNnNmIVBtBj+zHjLzW60sdI0dH8cLvXDQBmVgM4hM=";
+  };
+
+  vendorSha256 = "sha256-X7Djcp4reOXL6SX4jiSLicolENu7Uo5webSePYrPKug=";
+
+  meta = with lib; {
+    description = "Scanning and validation toolkit for the Log4J vulnerability";
+    homepage = "https://github.com/0xInfection/LogMePwn";
+    license = with licenses; [ gpl3Only ];
+    maintainers = with maintainers; [ fab ];
+  };
+}