3
0
Fork 0
forked from mirrors/nixpkgs

enum4linux-ng: init at 1.0.0

This commit is contained in:
Fabian Affolter 2021-01-18 09:50:26 +01:00
parent 82425ca793
commit 9df436f7a0
2 changed files with 43 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -236,6 +236,8 @@ in
enum4linux = callPackage ../tools/security/enum4linux {}; enum4linux = callPackage ../tools/security/enum4linux {};
enum4linux-ng = python3Packages.callPackage ../tools/security/enum4linux-ng { };
onesixtyone = callPackage ../tools/security/onesixtyone {}; onesixtyone = callPackage ../tools/security/onesixtyone {};
creddump = callPackage ../tools/security/creddump {}; creddump = callPackage ../tools/security/creddump {};