2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
aesedb,
|
|
|
|
aiosmb,
|
|
|
|
aiowinreg,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
minidump,
|
|
|
|
minikerberos,
|
|
|
|
msldap,
|
|
|
|
pythonOlder,
|
|
|
|
winsspi,
|
2021-01-15 22:18:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pypykatz";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.6.9";
|
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-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-Xni2cYI+ByTFSDvuWHDU97KljwMe3aT7P+VIir6ktks=";
|
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
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "pypykatz" ];
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mimikatz implementation in Python";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pypykatz";
|
2021-01-15 22:18:51 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|