159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
54 lines
928 B
Nix
54 lines
928 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchPypi,
|
|
impacket,
|
|
lxml,
|
|
poetry-core,
|
|
pyasn1,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dploot";
|
|
version = "3.0.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-G39dzP5A6ZySo7AhDIZWXjhtk2zm15wSnrdknLqHHcY=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"cryptography"
|
|
"lxml"
|
|
"pyasn1"
|
|
];
|
|
|
|
|
|
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";
|
|
};
|
|
}
|