2021-12-15 10:20:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lmp";
|
2021-12-18 21:29:36 +00:00
|
|
|
version = "1.1";
|
2021-12-15 10:20:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "0xInfection";
|
|
|
|
repo = "LogMePwn";
|
|
|
|
rev = "v${version}";
|
2021-12-18 21:29:36 +00:00
|
|
|
sha256 = "sha256-3kxMtkHkqo5Gwk864Bb8MqRtuC8HP38Xl22ktiTgr5k=";
|
2021-12-15 10:20:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|