From 1daa2fbc0de87f20130900bc566031a39931a676 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 2 Apr 2025 08:31:36 +0200 Subject: [PATCH] http-scanner: init at 1.0.1 HTTP security vulnerability scanner that detects a wide range of web application vulnerabilities https://github.com/aymaneallaoui/kafka-http-scanner --- pkgs/by-name/ht/http-scanner/package.nix | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/ht/http-scanner/package.nix diff --git a/pkgs/by-name/ht/http-scanner/package.nix b/pkgs/by-name/ht/http-scanner/package.nix new file mode 100644 index 000000000000..80d7378aaff2 --- /dev/null +++ b/pkgs/by-name/ht/http-scanner/package.nix @@ -0,0 +1,36 @@ +{ + lib, + stdenv, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "http-scanner"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "aymaneallaoui"; + repo = "kafka-http-scanner"; + tag = version; + hash = "sha256-+8UpdNRuu0nTYiBBS+yiVwDEtC/KpEeyPCEeJvsjxfs="; + }; + + vendorHash = "sha256-Nvp9Qd1lz6/4fTgvqpInk+QhKYr/Fcunw53WERBpT8Q="; + + ldflags = [ + "-s" + "-w" + "-X=github.com/aymaneallaoui/kafka-http-scanner/pkg/utils.Version=${version}" + ]; + + meta = { + description = "HTTP security vulnerability scanner that detects a wide range of web application vulnerabilities"; + homepage = "https://github.com/aymaneallaoui/kafka-http-scanner"; + changelog = "https://github.com/aymaneallaoui/kafka-http-scanner/releases/tag/${src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "http-scanner"; + broken = stdenv.isDarwin; + }; +}