shortscan: init at 0.9.2

IIS short filename enumeration tool

https://github.com/bitquark/shortscan

+38
+38
pkgs/by-name/sh/shortscan/package.nix
···
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + versionCheckHook, 6 + }: 7 + 8 + buildGoModule rec { 9 + pname = "shortscan"; 10 + version = "0.9.2"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "bitquark"; 14 + repo = "shortscan"; 15 + tag = "v${version}"; 16 + hash = "sha256-pJKhaeax1aHSR8OT6jp/Pe5bMBA7ASLF1MMlzd4Ppag="; 17 + }; 18 + 19 + vendorHash = "sha256-KBQP4fFs6P6I+ch1n4Raeu1or2wWhFeTv1b3DpIWAP8="; 20 + 21 + nativeInstallCheckInputs = [ versionCheckHook ]; 22 + 23 + ldflags = [ 24 + "-s" 25 + "-w" 26 + ]; 27 + 28 + doInstallCheck = true; 29 + 30 + meta = { 31 + description = "IIS short filename enumeration tool"; 32 + homepage = "https://github.com/bitquark/shortscan"; 33 + changelog = "https://github.com/bitquark/shortscan/releases/tag/${src.tag}"; 34 + license = lib.licenses.mit; 35 + maintainers = with lib.maintainers; [ fab ]; 36 + mainProgram = "shortscan"; 37 + }; 38 + }