From f33413359f7d612da94f320f1955954b6d5046e6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 5 Jul 2025 12:53:50 +0200 Subject: [PATCH] unwaf: init at 0-unstable-2025-07-04 Tool designed to help identify WAF bypasses using passive techniques https://github.com/mmarting/unwaf --- pkgs/by-name/un/unwaf/package.nix | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/un/unwaf/package.nix diff --git a/pkgs/by-name/un/unwaf/package.nix b/pkgs/by-name/un/unwaf/package.nix new file mode 100644 index 000000000000..c377aba3d45b --- /dev/null +++ b/pkgs/by-name/un/unwaf/package.nix @@ -0,0 +1,32 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "unwaf"; + version = "0-unstable-2025-07-04"; + + src = fetchFromGitHub { + owner = "mmarting"; + repo = "unwaf"; + rev = "06f19a49d048be1f92f395d04c43c9a2a36d2ab5"; + hash = "sha256-9gM82vv7Qx4VQv7Ojg2rpmC6SN9olqF+07ovjn7Z3CM="; + }; + + vendorHash = "sha256-jCL0mEGuiUeruQq6u7wOczqNwT343xtMYkit6QKbZuk="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = { + description = "Tool designed to help identify WAF bypasses using passive techniques"; + homepage = "https://github.com/mmarting/unwaf"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "unwaf"; + }; +}