587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
51 lines
927 B
Nix
51 lines
927 B
Nix
{ lib
|
|
, aesedb
|
|
, aiosmb
|
|
, aiowinreg
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, minidump
|
|
, minikerberos
|
|
, msldap
|
|
, pythonOlder
|
|
, winsspi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pypykatz";
|
|
version = "0.6.9";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Xni2cYI+ByTFSDvuWHDU97KljwMe3aT7P+VIir6ktks=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aesedb
|
|
aiosmb
|
|
aiowinreg
|
|
minikerberos
|
|
msldap
|
|
winsspi
|
|
minidump
|
|
];
|
|
|
|
# Project doesn't have tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pypykatz"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Mimikatz implementation in Python";
|
|
mainProgram = "pypykatz";
|
|
homepage = "https://github.com/skelsec/pypykatz";
|
|
changelog = "https://github.com/skelsec/pypykatz/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|