25 lines
604 B
Nix
25 lines
604 B
Nix
{ 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 ];
|
|
};
|
|
}
|