2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
cryptography,
|
|
|
|
fetchPypi,
|
|
|
|
impacket,
|
|
|
|
lxml,
|
|
|
|
poetry-core,
|
|
|
|
pyasn1,
|
|
|
|
pythonOlder,
|
2024-02-07 01:22:34 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dploot";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2.7.3";
|
2024-02-07 01:22:34 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-YlRXUSCzVRXxRQcmPzTeyPQ3zK+UlhO9BmZVx6qVRpc=";
|
2024-02-07 01:22:34 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"cryptography"
|
|
|
|
"lxml"
|
|
|
|
"pyasn1"
|
2024-02-07 01:22:34 +00:00
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
|
|
|
|
dependencies = [
|
2024-02-07 01:22:34 +00:00
|
|
|
impacket
|
|
|
|
cryptography
|
|
|
|
pyasn1
|
|
|
|
lxml
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "dploot" ];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
meta = with lib; {
|
2024-02-07 01:22:34 +00:00
|
|
|
description = "DPAPI looting remotely in Python";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/zblurx/dploot";
|
2024-02-07 01:22:34 +00:00
|
|
|
changelog = "https://github.com/zblurx/dploot/releases/tag/${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ vncsb ];
|
|
|
|
mainProgram = "dploot";
|
2024-02-07 01:22:34 +00:00
|
|
|
};
|
|
|
|
}
|