diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-19 14:16:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 14:16:43 +0100 |
commit | a0e6e14c44c353c2d1143d409d4416e50445fd39 (patch) | |
tree | 68c384df7550b8cf927d85d1a387b9b77acf6f93 /pkgs/tools | |
parent | 34095f8d9670c592ce5433d518aa32b76e4a9244 (diff) | |
parent | 9df436f7a0da1e00d3c3986206632473f7180b85 (diff) |
Merge pull request #109091 from fabaff/enum
enum4linux-ng: init at 1.0.0
Diffstat (limited to 'pkgs/tools')
-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 ]; + }; +} |