Skip to content

Commit

Permalink
firefly: init at 1.4.3
Browse files Browse the repository at this point in the history
Black box fuzzer for web applications

https://github.com/Brum3ns/firefly
  • Loading branch information
fabaff committed Sep 17, 2024
1 parent dcf47c5 commit 7f476a9
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkgs/by-name/fi/firefly/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:

buildGoModule rec {
pname = "firefly";
version = "1.4.3";

src = fetchFromGitHub {
owner = "Brum3ns";
repo = "firefly";
rev = "refs/tags/v${version}";
hash = "sha256-hhZw7u4NX+BvapUZv0k2Xu/UOdL7Pt8Idjat4aJzvIk=";
};

vendorHash = "sha256-eeVj0nU+cs1cZNVvwu4LgtQkpddtyYAYS91ANHyOjcY=";

ldflags = [
"-s"
"-w"
];

preCheck = ''
# Test fails with invalid memory address or nil pointer dereference
substituteInPlace tests/httpfilter_test.go \
--replace-fail "Test_HttpFilter" "Skip_HttpFilter"
'';

meta = {
description = "Black box fuzzer for web applications";
homepage = "https://github.com/Brum3ns/firefly";
# https://github.com/Brum3ns/firefly/issues/12
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "firefly";
};
}

0 comments on commit 7f476a9

Please sign in to comment.