2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
asn1crypto,
|
|
|
|
buildPythonPackage,
|
|
|
|
colorama,
|
|
|
|
cryptography,
|
|
|
|
fetchFromGitHub,
|
|
|
|
impacket,
|
|
|
|
pyasn1,
|
|
|
|
pythonOlder,
|
2022-11-27 09:42:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "masky";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "0.2.0";
|
2022-11-27 09:42:12 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Z4kSec";
|
|
|
|
repo = "Masky";
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-npRuszHkxwjJ+B+q8eQywXPd0OX0zS+AfCro4TM83Uc=";
|
2022-11-27 09:42:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
asn1crypto
|
|
|
|
colorama
|
|
|
|
cryptography
|
|
|
|
impacket
|
|
|
|
pyasn1
|
|
|
|
];
|
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "masky" ];
|
2022-11-27 09:42:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library to remotely dump domain credentials";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "masky";
|
2022-11-27 09:42:12 +00:00
|
|
|
homepage = "https://github.com/Z4kSec/Masky";
|
|
|
|
changelog = "https://github.com/Z4kSec/Masky/releases/tag/v${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elasticdog ];
|
|
|
|
};
|
|
|
|
}
|