zgrab2: init at 20210327-17a5257

This commit is contained in:
Fabian Affolter 2021-03-27 01:17:21 +01:00
parent 51be366f7e
commit 4f173f616d
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "zgrab2";
version = "20210327-${lib.strings.substring 0 7 rev}";
rev = "17a5257565c758e2b817511d15476d330be0a17a";
src = fetchFromGitHub {
owner = "zmap";
repo = pname;
inherit rev;
sha256 = "1hxk2jggj8lww97lwmks46i001p5ycnxnck8yya6d0fd3ayxvw2w";
};
vendorSha256 = "1s0azy5b5hi5h24vs6a9f1n70l980vkid28ihqh10zq6ajmds2z3";
subPackages = [ "cmd/zgrab2" ];
meta = with lib; {
description = "Web application scanner";
homepage = "https://github.com/zmap/zgrab2";
license = with licenses; [ asl20 isc ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -26692,7 +26692,9 @@ in
autoconf = buildPackages.autoconf269;
};
zgrviewer = callPackage ../applications/graphics/zgrviewer {};
zgrab2 = callPackage ../tools/security/zgrab2 { };
zgrviewer = callPackage ../applications/graphics/zgrviewer { };
zgv = callPackage ../applications/graphics/zgv {
# Enable the below line for terminal display. Note