01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
46 lines
940 B
Nix
46 lines
940 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, impacket
|
|
, netaddr
|
|
, pythonOlder
|
|
, pypykatz
|
|
, rich
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lsassy";
|
|
version = "3.1.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Hackndo";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Rdgz9hU2un1CKX2dRI8tVzL2lG7Ufd5HwninOxOsxjM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
impacket
|
|
netaddr
|
|
pypykatz
|
|
rich
|
|
];
|
|
|
|
# Tests require an active domain controller
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"lsassy"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python module to extract data from Local Security Authority Subsystem Service (LSASS)";
|
|
homepage = "https://github.com/Hackndo/lsassy";
|
|
changelog = "https://github.com/Hackndo/lsassy/releases/tag/v${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|