Unverified Commit 031eba6a authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

ldapnomnom: add ldflags

parent 5a5221b8
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -9,13 +9,18 @@ buildGoModule rec {

  src = fetchFromGitHub {
    owner = "lkarlslund";
    repo = pname;
    repo = "ldapnomnom";
    rev = "refs/tags/v${version}";
    hash = "sha256-3s2mLNqnJ+wZ17gy8Yr2Ze0S62A1bmE91E2ciLNO14E=";
  };

  vendorHash = "sha256-3ucnLD+qhBSWY2wLtBcsOcuEf1woqHP17qQg7LlERA8=";

  ldflags = [
    "-w"
    "-s"
  ];

  meta = with lib; {
    description = "Tool to anonymously bruteforce usernames from Domain controllers";
    homepage = "https://github.com/lkarlslund/ldapnomnom";