Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceMatcherMap = make(map[string]string)
ServiceMatcherMap 对于每一个服务,需要对应一个爆破方法 服务需要在init函数指定与之对应的hash算法
Functions ¶
func GetType ¶
func GetType(service IService) event.WeakpassService
Types ¶
type IService ¶
type IService interface { Name() string FilePath() []string GetRecords(file io.Reader) (records []model.Record, err error) }
func GetModuleByName ¶
GetModuleByName 根据模块名获取对应Service列表
type SshService ¶
type SshService struct {
// contains filtered or unexported fields
}
func (*SshService) FilePath ¶
func (i *SshService) FilePath() (paths []string)
func (*SshService) GetRecords ¶
func (*SshService) Name ¶
func (i *SshService) Name() string
Click to show internal directories.
Click to hide internal directories.