fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
56 lines
998 B
Nix
56 lines
998 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchPypi,
|
|
impacket,
|
|
lxml,
|
|
poetry-core,
|
|
pyasn1,
|
|
pythonOlder,
|
|
pythonRelaxDepsHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dploot";
|
|
version = "2.7.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Vbaghcomf9gRso4DN/cpJ4j7t6AU2vg2OhucKbfS1hc=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"cryptography"
|
|
"lxml"
|
|
"pyasn1"
|
|
];
|
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
impacket
|
|
cryptography
|
|
pyasn1
|
|
lxml
|
|
];
|
|
|
|
pythonImportsCheck = [ "dploot" ];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "DPAPI looting remotely in Python";
|
|
homepage = "https://github.com/zblurx/dploot";
|
|
changelog = "https://github.com/zblurx/dploot/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ vncsb ];
|
|
mainProgram = "dploot";
|
|
};
|
|
}
|