2021-01-15 22:18:51 +00:00
|
|
|
{ lib
|
2021-03-20 04:20:00 +00:00
|
|
|
, aiosmb
|
2021-01-15 22:18:51 +00:00
|
|
|
, aiowinreg
|
|
|
|
, buildPythonPackage
|
2021-03-20 04:20:00 +00:00
|
|
|
, fetchPypi
|
2021-01-15 22:18:51 +00:00
|
|
|
, minidump
|
|
|
|
, minikerberos
|
|
|
|
, msldap
|
|
|
|
, winsspi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pypykatz";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "0.5.2";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-05 21:33:18 +00:00
|
|
|
sha256 = "1lyvypi1g4l9fq1f9q05bdn6vq8y5y9ghmb6ziqdycr0lxn7lfdd";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-03-20 04:20:00 +00:00
|
|
|
aiosmb
|
2021-01-15 22:18:51 +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 ];
|
|
|
|
};
|
|
|
|
}
|