sshchecker

package module
v0.0.0-...-573a344 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2020 License: MIT Imports: 5 Imported by: 0

README

sshchecker

Build Status

sshchecker is a fast tool to check ssh login on giving ips.

Install

▶ go get -u github.com/lazytools/sshchecker

usage

▶ cat testfiles/ips.txt | sshchecker -U testfiles/testuser -P testfiles/testpass

Flags

sshchecker -h

TODO

  • Signal Killed issue

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchTrySSHLogin

func BatchTrySSHLogin(ctx context.Context, addr *net.TCPAddr, opts *BatchOptions, output chan<- *BatchResult) error

func TrySSHLogin

func TrySSHLogin(ctx context.Context, addr *net.TCPAddr, user, pass string) error

Types

type BatchOptions

type BatchOptions struct {
	UserList     []string
	PasswordList []string
	Timeout      time.Duration
	Concurrency  int
}

type BatchResult

type BatchResult struct {
	Username string
	Password string
	Error    error
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL