2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3,
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "knowsmore";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.1.38";
|
|
|
|
pyproject = true;
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "helviojunior";
|
|
|
|
repo = "knowsmore";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-A68JuzlWvq3OAtgq6uAFcTTYKmL7xjKWZ0HQfVXKt4k=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"neo4j"
|
|
|
|
"urllib3"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonRemoveDeps = [ "bs4" ];
|
|
|
|
|
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
|
|
|
|
|
|
|
|
dependencies = with python3.pkgs; [
|
2023-10-09 19:29:22 +00:00
|
|
|
aioconsole
|
|
|
|
ansi2image
|
|
|
|
beautifulsoup4
|
|
|
|
clint
|
|
|
|
colorama
|
|
|
|
impacket
|
|
|
|
levenshtein
|
|
|
|
minikerberos
|
|
|
|
neo4j
|
|
|
|
numpy
|
|
|
|
pypsrp
|
|
|
|
requests
|
|
|
|
tabulate
|
|
|
|
urllib3
|
|
|
|
xmltodict
|
|
|
|
];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonImportsCheck = [ "knowsmore" ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pytestFlagsArray = [ "tests/tests*" ];
|
2023-10-09 19:29:22 +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-15 15:35:15 +00:00
|
|
|
mainProgram = "knowsmore";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
}
|