summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/ss/sshchecker/package.nix
blob: 6e0353fdc0d18abf848bcfc3dce3d6672696cdbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  buildGoModule,
  fetchFromGitHub,
  lib,
}:

buildGoModule (finalAttrs: {
  pname = "sshchecker";
  version = "1.0";

  src = fetchFromGitHub {
    owner = "lazytools";
    repo = "sshchecker";
    rev = "v${finalAttrs.version}";
    hash = "sha256-QMc64ynPLHQGsmDOsoChgmqmpRDyMYmmSAPwAEFBK40=";
  };

  vendorHash = "sha256-U5nZbo2iSKP3BnxT4lkR75QutcxZB5YLzXxT045TDaY=";

  meta = {
    description = "Dedicated SSH brute-forcing tool";
    mainProgram = "sshchecker";
    longDescription = ''
      sshchecker is a fast dedicated SSH brute-forcing tool to check
      SSH login on the giving IP list.
    '';
    homepage = "https://github.com/lazytools/sshchecker";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
})