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-03-24 13:24:47 +00:00
|
|
|
version = "0.4.7";
|
2021-01-11 08:13:22 +00:00
|
|
|
|
2021-03-24 13:24:47 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0il5sj47wyf9gn76alm8v1l63rqw2vsd27v6f7q1dpn0wq209syi";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|