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-04-22 02:08:21 +00:00
|
|
|
version = "0.5.0";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-22 02:08:21 +00:00
|
|
|
sha256 = "sha256-1p8v4Qi0MNqMUpcErWnxveYu4d4N5BUBCDBsw1xX96I=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|