2021-06-04 09:07:49 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kiterunner";
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "assetnote";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-vIYPpkbqyk0zH10DGp2FF0aI4lFpsZavulBIiR/3kiA=";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-fgtDP6X84iPO2Tcwq5jl8700PDKixJlIihgNaPX/n9k=";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s" "-w" "-X github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Version=${version}"
|
|
|
|
];
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
subPackages = [ "./cmd/kiterunner" ];
|
|
|
|
|
|
|
|
# Test data is missing in the repo
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Contextual content discovery tool";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "kiterunner";
|
2021-06-04 09:07:49 +00:00
|
|
|
longDescription = ''
|
|
|
|
Kiterunner is a tool that is capable of not only performing traditional
|
|
|
|
content discovery at lightning fast speeds, but also bruteforcing routes
|
|
|
|
and endpoints in modern applications.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/assetnote/kiterunner";
|
|
|
|
license = with licenses; [ agpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|