2021-01-15 22:18:51 +00:00
|
|
|
{ lib
|
2022-04-27 09:35:20 +00:00
|
|
|
, aesedb
|
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
|
2022-04-27 09:35:20 +00:00
|
|
|
, pythonOlder
|
2021-01-15 22:18:51 +00:00
|
|
|
, winsspi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pypykatz";
|
2023-03-08 16:32:21 +00:00
|
|
|
version = "0.6.6";
|
2022-04-27 09:35:20 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-08 16:32:21 +00:00
|
|
|
hash = "sha256-fPeEKTfRL142RIMSQxpByIAy09sXlmDjIATikc82Iuw=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2022-04-27 09:35:20 +00:00
|
|
|
aesedb
|
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;
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"pypykatz"
|
|
|
|
];
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mimikatz implementation in Python";
|
|
|
|
homepage = "https://github.com/skelsec/pypykatz";
|
2022-12-02 08:20:57 +00:00
|
|
|
changelog = "https://github.com/skelsec/pypykatz/releases/tag/${version}";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|