tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
enum4linux: 0.8.9 -> 0.9.1
Fabian Affolter
4 years ago
490652c6
3e610e1d
+27
-9
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
enum4linux
default.nix
+27
-9
pkgs/tools/security/enum4linux/default.nix
···
1
-
{ lib, stdenv, fetchurl, makeWrapper, samba, perl, openldap }:
0
0
0
0
0
0
0
2
3
stdenv.mkDerivation rec {
4
pname = "enum4linux";
5
-
version = "0.8.9";
6
-
src = fetchurl {
7
-
url = "https://labs.portcullis.co.uk/download/enum4linux-${version}.tar.gz";
8
-
sha256 = "41334df0cb1ba82db9e3212981340372bb355a8160073331d2a1610908a62d85";
0
0
0
9
};
10
11
dontBuild = true;
12
-
nativeBuildInputs = [ makeWrapper ];
13
-
buildInputs = [ samba perl openldap ];
0
0
0
0
0
0
0
0
14
15
installPhase = ''
16
mkdir -p $out/bin
···
23
meta = with lib; {
24
description = "A tool for enumerating information from Windows and Samba systems";
25
homepage = "https://labs.portcullis.co.uk/tools/enum4linux/";
26
-
license = licenses.gpl2;
0
27
platforms = platforms.unix;
28
-
maintainers = [ maintainers.fishi0x01 ];
29
};
30
}
31
···
1
+
{ lib
2
+
, stdenv
3
+
, fetchFromGitHub
4
+
, makeWrapper
5
+
, samba
6
+
, perl
7
+
, openldap
8
+
}:
9
10
stdenv.mkDerivation rec {
11
pname = "enum4linux";
12
+
version = "0.9.1";
13
+
14
+
src = fetchFromGitHub {
15
+
owner = "CiscoCXSecurity";
16
+
repo = pname;
17
+
rev = "v${version}";
18
+
sha256 = "sha256-/R0P4Ft9Y0LZwKwhDGAe36UKviih6CNbJbj1lcNKEkM=";
19
};
20
21
dontBuild = true;
22
+
23
+
nativeBuildInputs = [
24
+
makeWrapper
25
+
];
26
+
27
+
buildInputs = [
28
+
openldap
29
+
perl
30
+
samba
31
+
];
32
33
installPhase = ''
34
mkdir -p $out/bin
···
41
meta = with lib; {
42
description = "A tool for enumerating information from Windows and Samba systems";
43
homepage = "https://labs.portcullis.co.uk/tools/enum4linux/";
44
+
license = licenses.gpl2Plus;
45
+
maintainers = with maintainers; [ fishi0x01 ];
46
platforms = platforms.unix;
0
47
};
48
}
49