2021-01-11 08:13:22 +00:00
|
|
|
{ lib
|
2021-03-24 13:24:47 +00:00
|
|
|
, aiosmb
|
2021-01-11 08:13:22 +00:00
|
|
|
, aiowinreg
|
|
|
|
, buildPythonPackage
|
2021-03-24 13:24:47 +00:00
|
|
|
, fetchPypi
|
2021-01-11 08:13:22 +00:00
|
|
|
, minidump
|
|
|
|
, minikerberos
|
|
|
|
, msldap
|
|
|
|
, winsspi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pypykatz";
|
2021-08-04 21:52:57 +01:00
|
|
|
version = "0.5.2";
|
2021-01-11 08:13:22 +00:00
|
|
|
|
2021-03-24 13:24:47 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-04 21:52:57 +01:00
|
|
|
sha256 = "1lyvypi1g4l9fq1f9q05bdn6vq8y5y9ghmb6ziqdycr0lxn7lfdd";
|
2021-01-11 08:13:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-03-24 13:24:47 +00:00
|
|
|
aiosmb
|
2021-01-11 08:13:22 +00:00
|
|
|
aiowinreg
|
|
|
|
minikerberos
|
|
|
|
msldap
|
|
|
|
winsspi
|
|
|
|
minidump
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project doesn't have tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pypykatz" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mimikatz implementation in Python";
|
|
|
|
homepage = "https://github.com/skelsec/pypykatz";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|