Merge pull request #228561 from fabaff/apachetomcatscanner
apachetomcatscanner: init at 3.5
This commit is contained in:
commit
033485f847
40
pkgs/development/python-modules/sectools/default.nix
Normal file
40
pkgs/development/python-modules/sectools/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
38
pkgs/tools/security/apachetomcatscanner/default.nix
Normal file
38
pkgs/tools/security/apachetomcatscanner/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user