enum4linux-ng: refactor
This commit is contained in:
parent
d50918bc1c
commit
96f0886b83
|
@ -1,36 +1,38 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonApplication
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, impacket
|
, python3
|
||||||
, ldap3
|
|
||||||
, pyyaml
|
|
||||||
, samba
|
, samba
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "enum4linux-ng";
|
pname = "enum4linux-ng";
|
||||||
version = "1.3.2";
|
version = "1.3.2";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cddmp";
|
owner = "cddmp";
|
||||||
repo = pname;
|
repo = "enum4linux-ng";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-O3TZcCn2kRLrMjQPVg8F5Q2ri968xRbXrdnfytfMkYM=";
|
hash = "sha256-O3TZcCn2kRLrMjQPVg8F5Q2ri968xRbXrdnfytfMkYM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = with python3.pkgs; [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
samba
|
||||||
|
] ++ (with python3.pkgs; [
|
||||||
impacket
|
impacket
|
||||||
ldap3
|
ldap3
|
||||||
pyyaml
|
pyyaml
|
||||||
samba
|
]);
|
||||||
];
|
|
||||||
|
|
||||||
# It's only a script and not a Python module. Project has no tests
|
# It's only a script and not a Python module. Project has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Windows/Samba enumeration tool";
|
description = "Windows/Samba enumeration tool";
|
||||||
mainProgram = "enum4linux-ng";
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
enum4linux-ng.py is a rewrite of Mark Lowe's enum4linux.pl, a tool for
|
enum4linux-ng.py is a rewrite of Mark Lowe's enum4linux.pl, a tool for
|
||||||
enumerating information from Windows and Samba systems.
|
enumerating information from Windows and Samba systems.
|
||||||
|
@ -39,5 +41,6 @@ buildPythonApplication rec {
|
||||||
changelog = "https://github.com/cddmp/enum4linux-ng/releases/tag/v${version}";
|
changelog = "https://github.com/cddmp/enum4linux-ng/releases/tag/v${version}";
|
||||||
license = with licenses; [ gpl3Plus ];
|
license = with licenses; [ gpl3Plus ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
|
mainProgram = "enum4linux-ng";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -816,7 +816,7 @@ with pkgs;
|
||||||
|
|
||||||
enum4linux = callPackage ../tools/security/enum4linux { };
|
enum4linux = callPackage ../tools/security/enum4linux { };
|
||||||
|
|
||||||
enum4linux-ng = python3Packages.callPackage ../tools/security/enum4linux-ng { };
|
enum4linux-ng = callPackage ../tools/security/enum4linux-ng { };
|
||||||
|
|
||||||
enumerepo = callPackage ../tools/security/enumerepo {};
|
enumerepo = callPackage ../tools/security/enumerepo {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user