Merge pull request #193308 from fabaff/dirstalk

dirstalk: init at 1.3.3
This commit is contained in:
Fabian Affolter 2022-10-04 14:17:18 +02:00 committed by GitHub
commit 0ba44a03f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

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