hydra

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Passwords = []string{"123456", "admin", "admin123", "root", "", "pass123", "pass@123", "password", "123123", "654321",
	"111111", "123", "1", "admin@123", "Admin@123", "admin123!@#", "{user}", "{user}1", "{user}111", "{user}123", "{user}1234", "{user}@123",
	"{user}_123", "{user}#123", "{user}@111", "{user}@2019", "{user}@123#4", "P@ssw0rd!", "P@ssw0rd", "Passw0rd", "qwe123",
	"12345678", "test", "test123", "123qwe", "123qwe!@#", "123456789", "123321", "666666", "a123456.", "123456~a", "123456!a",
	"000000", "1234567890", "8888888", "!QAZ2wsx", "1qaz2wsx", "abc123", "abc123456", "1qaz@WSX", "a11111", "a12345", "Aa1234",
	"Aa1234.", "Aa12345", "a123456", "a123123", "Aa123123", "Aa123456", "Aa12345.", "sysadmin", "system", "1qaz!QAZ", "2wsx@WSX",
	"qwe123!@#", "Aa123456!", "A123456s!", "sa123456", "1q2w3e", "Charge123", "Aa123456789"}
View Source
var UserDict = map[string][]string{
	"ftp":        {"ftp", "admin", "www", "web", "root", "db", "wwwroot", "data"},
	"mysql":      {"root", "mysql"},
	"mssql":      {"sa", "sql"},
	"smb":        {"administrator", "admin", "guest"},
	"rdp":        {"administrator", "admin", "guest"},
	"postgresql": {"postgres", "admin"},
	"ssh":        {"root", "admin"},
	"mongodb":    {"root", "admin"},
	"oracle":     {"sys", "system", "admin", "test", "web", "orcl"},
}

Functions

func CheckErrs

func CheckErrs(err error) bool

func FTP

func FTP(host string, port int) (string, error)

func FtpConn

func FtpConn(host string, port int, user string, pass string) (bool, error)

func Memcached

func Memcached(host string, port int) (string, error)

func Mongodb

func Mongodb(host string, port int) (string, error)

func MongodbUnauth

func MongodbUnauth(host string, port int) (flag bool, err error)

func Mysql

func Mysql(host string, port int) (string, error)

func MysqlConn

func MysqlConn(host string, port int, user string, pass string) (flag bool, err error)

func Oracle

func Oracle(host string, port int) (string, error)

func OracleConn

func OracleConn(host string, port int, user string, pass string) (flag bool, err error)

func PostgresConn

func PostgresConn(host string, port int, user string, pass string) (flag bool, err error)

func Postgresql

func Postgresql(host string, port int) (string, error)

func RDP

func RDP(host string, port int) (string, error)

func RdpConn

func RdpConn(ip, domain, user, password string, port int, timeout int64) (bool, error)

func Redis

func Redis(host string, port int) (string, error)

func SMB

func SMB(host string, port int) (string, error)

func SQLServer

func SQLServer(host string, port int) (string, error)

func SQLServerConn

func SQLServerConn(host string, port int, user string, pass string) (flag bool, err error)

func SSH

func SSH(host string, port int) (string, error)

func SmblConn

func SmblConn(host string, port int, user string, pass string, signal chan struct{}) (flag bool, err error)

func SshConn

func SshConn(host string, port int, user string, pass string) (flag bool, err error)

Types

type Client

type Client struct {
	Host string // ip:port
	// contains filtered or unexported fields
}

func NewClient

func NewClient(host string, logLevel glog.LEVEL) *Client

func (*Client) Login

func (g *Client) Login(domain, user, pwd string, timeout int64) error

Jump to

Keyboard shortcuts

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