2021-04-19 03:05:28 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
2020-12-29 15:07:52 +00:00
|
|
|
, fetchFromGitHub
|
2024-01-02 11:29:13 +00:00
|
|
|
, fetchpatch
|
2020-12-29 15:07:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ffuf";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "2.1.0";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2024-01-02 11:29:13 +00:00
|
|
|
owner = "ffuf";
|
|
|
|
repo = "ffuf";
|
2023-02-16 17:41:37 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-+wcNqQHtB8yCLiJXMBxolCWsYZbBAsBGS1hs7j1lzUU=";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
vendorHash = "sha256-SrC6Q7RKf+gwjJbxSZkWARw+kRtkwVv1UJshc/TkNdc=";
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Fix CSV test, https://github.com/ffuf/ffuf/pull/731
|
|
|
|
(fetchpatch {
|
|
|
|
name = "fix-csv-test.patch";
|
|
|
|
url = "https://github.com/ffuf/ffuf/commit/7f2aae005ad73988a1fa13c1c33dab71f4ae5bbd.patch";
|
|
|
|
hash = "sha256-/v9shGICmsbFfEJe4qBkBHB9PVbBlrjY3uFmODxHu9M=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
|
|
|
];
|
2020-12-29 15:07:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-01-02 11:29:13 +00:00
|
|
|
description = "Tool for web fuzzing";
|
2020-12-29 15:07:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
FFUF, or “Fuzz Faster you Fool” is an open source web fuzzing tool,
|
|
|
|
intended for discovering elements and content within web applications
|
|
|
|
or web servers.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/ffuf/ffuf";
|
2023-02-16 17:41:37 +00:00
|
|
|
changelog = "https://github.com/ffuf/ffuf/releases/tag/v${version}";
|
2020-12-29 15:07:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|