2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchFromGitHub
|
|
|
|
, impacket
|
|
|
|
, ldap3
|
|
|
|
, pyyaml
|
|
|
|
, samba
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "enum4linux-ng";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.3.2";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cddmp";
|
|
|
|
repo = pname;
|
2022-12-17 10:02:37 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-O3TZcCn2kRLrMjQPVg8F5Q2ri968xRbXrdnfytfMkYM=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
impacket
|
|
|
|
ldap3
|
|
|
|
pyyaml
|
|
|
|
samba
|
|
|
|
];
|
|
|
|
|
|
|
|
# It's only a script and not a Python module. Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Windows/Samba enumeration tool";
|
|
|
|
longDescription = ''
|
|
|
|
enum4linux-ng.py is a rewrite of Mark Lowe's enum4linux.pl, a tool for
|
|
|
|
enumerating information from Windows and Samba systems.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/cddmp/enum4linux-ng";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/cddmp/enum4linux-ng/releases/tag/v${version}";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = with licenses; [ gpl3Plus ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|