From dbb78328cff22b32ca401d86d3fb3fe51ff4353c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 Sep 2021 21:02:38 +0200 Subject: [PATCH] dalfox: init at 2.4.9 --- pkgs/tools/security/dalfox/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/security/dalfox/default.nix diff --git a/pkgs/tools/security/dalfox/default.nix b/pkgs/tools/security/dalfox/default.nix new file mode 100644 index 000000000000..82a1f7e583a3 --- /dev/null +++ b/pkgs/tools/security/dalfox/default.nix @@ -0,0 +1,25 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "dalfox"; + version = "2.4.9"; + + src = fetchFromGitHub { + owner = "hahwul"; + repo = pname; + rev = "v${version}"; + sha256 = "1g0bafg3lgsqy8mjyzvvy9l1wp1rxqwpba3dkx6xisjkpbycxql8"; + }; + + vendorSha256 = "1mw58zbihw2fzbpqwydfrrkcwqjkjqdzp37m4dijhx1pbzkv9gzl"; + + meta = with lib; { + description = "Tool for analysing parameter and XSS scanning"; + homepage = "https://github.com/hahwul/dalfox"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cd2f731315d5..86f3262733b3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30373,6 +30373,8 @@ with pkgs; conglomerate = callPackage ../applications/science/biology/conglomerate { }; + dalfox = callPackage ../tools/security/dalfox { }; + dcm2niix = callPackage ../applications/science/biology/dcm2niix { }; deepdiff = with python3Packages; toPythonApplication deepdiff;