2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchFromGitHub
|
|
|
|
, impacket
|
|
|
|
, ldap3
|
|
|
|
, pyyaml
|
|
|
|
, samba
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "enum4linux-ng";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "1.1.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cddmp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "0fk6hzmvxb5y3nb41qr6dssxhdahkh5nxhbx480x42fhnqpssir5";
|
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";
|
|
|
|
license = with licenses; [ gpl3Plus ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|