2024-05-07 20:30:18 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3,
|
2023-09-08 19:08:40 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "knowsmore";
|
2024-08-08 16:12:32 +00:00
|
|
|
version = "0.1.43";
|
2024-05-07 20:29:51 +00:00
|
|
|
pyproject = true;
|
2023-09-08 19:08:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "helviojunior";
|
|
|
|
repo = "knowsmore";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-08-08 16:12:32 +00:00
|
|
|
hash = "sha256-rLESaedhEHTMYVbITr3vjyE6urhwl/g1/iTMZ4ruE1c=";
|
2023-09-08 19:08:40 +00:00
|
|
|
};
|
|
|
|
|
2024-05-07 20:29:51 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"neo4j"
|
|
|
|
"urllib3"
|
|
|
|
];
|
|
|
|
|
2024-05-07 20:30:18 +00:00
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
2024-05-07 20:29:51 +00:00
|
|
|
|
|
|
|
dependencies = with python3.pkgs; [
|
2023-09-08 19:08:40 +00:00
|
|
|
aioconsole
|
|
|
|
ansi2image
|
|
|
|
beautifulsoup4
|
|
|
|
clint
|
|
|
|
colorama
|
|
|
|
impacket
|
|
|
|
levenshtein
|
|
|
|
minikerberos
|
|
|
|
neo4j
|
|
|
|
numpy
|
|
|
|
pypsrp
|
|
|
|
requests
|
|
|
|
tabulate
|
|
|
|
urllib3
|
|
|
|
xmltodict
|
|
|
|
];
|
|
|
|
|
2024-05-07 20:30:18 +00:00
|
|
|
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
|
2023-09-08 19:08:40 +00:00
|
|
|
|
2024-05-07 20:30:18 +00:00
|
|
|
pythonImportsCheck = [ "knowsmore" ];
|
2023-09-08 19:08:40 +00:00
|
|
|
|
2024-05-07 20:30:18 +00:00
|
|
|
pytestFlagsArray = [ "tests/tests*" ];
|
2023-09-08 19:08:40 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool for pentesting Microsoft Active Directory";
|
|
|
|
homepage = "https://github.com/helviojunior/knowsmore";
|
|
|
|
changelog = "https://github.com/helviojunior/knowsmore/releases/tag/v${version}";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-05-07 20:29:51 +00:00
|
|
|
mainProgram = "knowsmore";
|
2023-09-08 19:08:40 +00:00
|
|
|
};
|
|
|
|
}
|