Merge pull request #228561 from fabaff/apachetomcatscanner

apachetomcatscanner: init at 3.5
This commit is contained in:
Fabian Affolter 2023-04-28 18:45:24 +02:00 committed by GitHub
commit 033485f847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, ldap3
, pythonOlder
}:
buildPythonPackage rec {
pname = "sectools";
version = "1.3.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "p0dalirius";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-F9mmPSlfSSS7UDNuX9OPrqDsEpqq0bD3eROG8D9CC78=";
};
propagatedBuildInputs = [
ldap3
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"sectools"
];
meta = with lib; {
description = "library containing functions to write security tools";
homepage = "https://github.com/p0dalirius/sectools";
changelog = "https://github.com/p0dalirius/sectools/releases/tag/${version}";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,38 @@
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "apachetomcatscanner";
version = "3.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "p0dalirius";
repo = "ApacheTomcatScanner";
rev = "refs/tags/${version}";
hash = "sha256-ChVVXUjm6y71iRs64Kv63oiOG1GSqmx6J0YiGtEI0ao=";
};
propagatedBuildInputs = with python3.pkgs; [
requests
sectools
xlsxwriter
];
# Project has no test
doCheck = false;
pythonImportsCheck = [
"apachetomcatscanner"
];
meta = with lib; {
description = "Tool to scan for Apache Tomcat server vulnerabilities";
homepage = "https://github.com/p0dalirius/ApacheTomcatScanner";
changelog = "https://github.com/p0dalirius/ApacheTomcatScanner/releases/tag/${version}";
license = with licenses; [ gpl2Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1407,6 +1407,8 @@ with pkgs;
apache-airflow = with python3.pkgs; toPythonApplication apache-airflow;
apachetomcatscanner = callPackage ../tools/security/apachetomcatscanner { };
airsonic = callPackage ../servers/misc/airsonic { };
airspy = callPackage ../applications/radio/airspy { };

View File

@ -10714,6 +10714,8 @@ self: super: with self; {
securetar = callPackage ../development/python-modules/securetar { };
sectools = callPackage ../development/python-modules/sectools { };
seedir = callPackage ../development/python-modules/seedir { };
seekpath = callPackage ../development/python-modules/seekpath { };