dirstalk: init at 1.3.3

This commit is contained in:
Fabian Affolter 2022-10-02 00:25:08 +02:00
parent 467132e5ab
commit 8c04537057
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dirstalk";
version = "1.3.3";
src = fetchFromGitHub {
owner = "stefanoj3";
repo = pname;
rev = version;
hash = "sha256-gSMkTGzMDI+scG3FQ0u0liUDL4qOPPW2UWLlAQcmmaA=";
};
vendorHash = "sha256-nesKIaMMuN71LpvX8nOm7hDecgGjnx3tmsinrJg4GpQ=";
subPackages = "cmd/dirstalk";
ldflags = [
"-w"
"-s"
"-X github.com/stefanoj3/dirstalk/pkg/cmd.Version=${version}"
];
# Tests want to write to the root directory
doCheck = false;
meta = with lib; {
description = "Tool to brute force paths on web servers";
homepage = "https://github.com/stefanoj3/dirstalk";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -3674,6 +3674,8 @@ with pkgs;
direnv = callPackage ../tools/misc/direnv { };
dirstalk = callPackage ../tools/security/dirstalk { };
h = callPackage ../tools/misc/h { };
discount = callPackage ../tools/text/discount { };