2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchFromGitHub
|
|
|
|
, impacket
|
|
|
|
, ldap3
|
|
|
|
, pyyaml
|
|
|
|
, samba
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "enum4linux-ng";
|
2022-12-28 21:21:41 +00:00
|
|
|
version = "1.3.0";
|
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}";
|
2022-12-28 21:21:41 +00:00
|
|
|
hash = "sha256-InE0VRk9hK7JEKL202/2RclrJHAHFAol3DxKnVA+lq4=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|