Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "uncover";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = "uncover";
|
|
tag = "v${version}";
|
|
hash = "sha256-BRh25lvk3Zut5M6dedLuSET4514R9j0fUHmamw4rp5U=";
|
|
};
|
|
|
|
vendorHash = "sha256-6TvPKp/P0v/ZJRGRICp77C/8FHupyr9Hy2+zlYc2HIU=";
|
|
|
|
subPackages = [ "cmd/uncover" ];
|
|
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
doInstallCheck = true;
|
|
|
|
versionCheckProgramArg = "-version";
|
|
|
|
meta = {
|
|
description = "API wrapper to search for exposed hosts";
|
|
longDescription = ''
|
|
uncover is a go wrapper using APIs of well known search engines to quickly
|
|
discover exposed hosts on the internet. It is built with automation in mind,
|
|
so you can query it and utilize the results with your current pipeline tools.
|
|
Currently, it supports shodan,shodan-internetdb, censys, and fofa search API.
|
|
'';
|
|
homepage = "https://github.com/projectdiscovery/uncover";
|
|
changelog = "https://github.com/projectdiscovery/uncover/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "uncover";
|
|
};
|
|
}
|