mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
Merge pull request #193308 from fabaff/dirstalk
dirstalk: init at 1.3.3
This commit is contained in:
commit
0ba44a03f6
36
pkgs/tools/security/dirstalk/default.nix
Normal file
36
pkgs/tools/security/dirstalk/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user