diff options
author | Aaron Andersen <aaron@fosslib.net> | 2020-01-25 16:03:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-25 16:03:25 -0500 |
commit | ea87d5fc8ade9e102032fd4dc04e9ae220c51415 (patch) | |
tree | 6fb6d9b2ddd22153f1f1a6465440a20128a847d5 | |
parent | 8cd9059f9ef4a0e37695219614ea242d0a94b959 (diff) | |
parent | 6e83d1687eb1b5ed59b2a7611832a87821f30700 (diff) | |
download | nixpkgs-ea87d5fc8ade9e102032fd4dc04e9ae220c51415.tar nixpkgs-ea87d5fc8ade9e102032fd4dc04e9ae220c51415.tar.gz nixpkgs-ea87d5fc8ade9e102032fd4dc04e9ae220c51415.tar.bz2 nixpkgs-ea87d5fc8ade9e102032fd4dc04e9ae220c51415.tar.lz nixpkgs-ea87d5fc8ade9e102032fd4dc04e9ae220c51415.tar.xz nixpkgs-ea87d5fc8ade9e102032fd4dc04e9ae220c51415.tar.zst nixpkgs-ea87d5fc8ade9e102032fd4dc04e9ae220c51415.zip |
Merge pull request #78311 from fishi0x01/fishi0x01/enum4linux
enum4linux: init at 0.8.9
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/tools/security/enum4linux/default.nix | 31 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 39 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index bcfc7007b6b..e19c0b27714 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2405,6 +2405,12 @@ githubId = 415760; name = "Jonas Höglund"; }; + fishi0x01 = { + email = "fishi0x01@gmail.com"; + github = "fishi0x01"; + githubId = 10799507; + name = "Karl Fischer"; + }; Flakebi = { email = "flakebi@t-online.de"; github = "Flakebi"; diff --git a/pkgs/tools/security/enum4linux/default.nix b/pkgs/tools/security/enum4linux/default.nix new file mode 100644 index 00000000000..9a7d1861d9b --- /dev/null +++ b/pkgs/tools/security/enum4linux/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, makeWrapper, samba, perl, openldap }: + +stdenv.mkDerivation rec { + pname = "enum4linux"; + version = "0.8.9"; + src = fetchurl { + url = "https://labs.portcullis.co.uk/download/enum4linux-${version}.tar.gz"; + sha256 = "41334df0cb1ba82db9e3212981340372bb355a8160073331d2a1610908a62d85"; + }; + + dontBuild = true; + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ samba perl openldap ]; + + installPhase = '' + mkdir -p $out/bin + cp enum4linux.pl $out/bin/enum4linux + + wrapProgram $out/bin/enum4linux \ + --prefix PATH : ${stdenv.lib.makeBinPath [ samba openldap ]} + ''; + + meta = with stdenv.lib; { + description = "A tool for enumerating information from Windows and Samba systems"; + homepage = "https://labs.portcullis.co.uk/tools/enum4linux/"; + license = licenses.gpl2; + platforms = platforms.unix; + maintainers = [ maintainers.fishi0x01 ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 827f5fb9cd6..5f9af82a65b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -179,6 +179,8 @@ in deviceTree = callPackage ../os-specific/linux/device-tree {}; + enum4linux = callPackage ../tools/security/enum4linux {}; + device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix {}; diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins; |