diff --git a/pkgs/tools/security/go365/default.nix b/pkgs/tools/security/go365/default.nix new file mode 100644 index 000000000000..432dfb49da1e --- /dev/null +++ b/pkgs/tools/security/go365/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "go365"; + version = "1.4"; + + src = fetchFromGitHub { + owner = "optiv"; + repo = "Go365"; + rev = version; + sha256 = "0dh89hf00fr62gjdw2lb1ncdxd26nvlsh2s0i6981bp8xfg2pk5r"; + }; + + vendorSha256 = "0fx2966xfzmi8yszw1cq6ind3i2dvacdwfs029v3bq0n8bvbm3r2"; + + postInstall = '' + mv $out/bin/Go365 $out/bin/$pname + ''; + + meta = with lib; { + description = "Office 365 enumeration tool"; + homepage = "https://github.com/optiv/Go365"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2865279cbddb..193265623de7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31488,6 +31488,8 @@ with pkgs; binutils-arm-embedded = pkgsCross.arm-embedded.buildPackages.binutils; }; + go365 = callPackage ../tools/security/go365 { }; + gobuster = callPackage ../tools/security/gobuster { }; gotestwaf = callPackage ../tools/security/gotestwaf { };