diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-18 09:50:26 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-18 09:50:26 +0100 |
commit | 9df436f7a0da1e00d3c3986206632473f7180b85 (patch) | |
tree | b9cc9b23e3ad28edc4b6794f674681fb816e34db /pkgs/tools/security/enum4linux-ng | |
parent | 82425ca793a5c9e78afaf6ae7eeda9b0f7f77018 (diff) |
enum4linux-ng: init at 1.0.0
Diffstat (limited to 'pkgs/tools/security/enum4linux-ng')
-rw-r--r-- | pkgs/tools/security/enum4linux-ng/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/tools/security/enum4linux-ng/default.nix b/pkgs/tools/security/enum4linux-ng/default.nix new file mode 100644 index 0000000000000..33694ad79ae3f --- /dev/null +++ b/pkgs/tools/security/enum4linux-ng/default.nix @@ -0,0 +1,41 @@ +{ lib +, buildPythonApplication +, fetchFromGitHub +, impacket +, ldap3 +, pyyaml +, samba +}: + +buildPythonApplication rec { + pname = "enum4linux-ng"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "cddmp"; + repo = pname; + rev = "v${version}"; + sha256 = "0dhg8cwbdn0vlnchhscx31ay4mgj5p6rf73wzgs8nvqg0shsawmy"; + }; + + 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 ]; + }; +} |