diff --git a/pkgs/tools/security/hcxtools/default.nix b/pkgs/tools/security/hcxtools/default.nix new file mode 100644 index 00000000000..275578d8cb4 --- /dev/null +++ b/pkgs/tools/security/hcxtools/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, curl, openssl, zlib }: + +stdenv.mkDerivation rec { + pname = "hcxtools"; + version = "5.1.4"; + + src = fetchFromGitHub { + owner = "ZerBea"; + repo = pname; + rev = version; + sha256 = "1bkl0j6m5q091fas99s83aclcc5kfwacmkgmyg8565z2npvnj7nf"; + }; + + buildInputs = [ curl openssl zlib ]; + + makeFlags = [ + "PREFIX=${placeholder "out"}" + ]; + + meta = with stdenv.lib; { + description = "Tools for capturing wlan traffic and conversion to hashcat and John the Ripper formats"; + homepage = https://github.com/ZerBea/hcxtools; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ dywedir ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1964eb4533a..cf2b668c016 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3533,6 +3533,8 @@ in hardinfo = callPackage ../tools/system/hardinfo { }; + hcxtools = callPackage ../tools/security/hcxtools { }; + hdapsd = callPackage ../os-specific/linux/hdapsd { }; hdaps-gl = callPackage ../tools/misc/hdaps-gl { };