6064764516
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
41 lines
782 B
Nix
41 lines
782 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, impacket
|
|
, netaddr
|
|
, pypykatz
|
|
, rich
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lsassy";
|
|
version = "3.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Hackndo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-75gs08QGjN5iUT4HQZZTSKi3vzNNKQvZR2JTObYNb7w=";
|
|
};
|
|
|
|
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";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|