Documentation
¶
Index ¶
- Variables
- func CheckPort(ip net.IP, port int)
- func ConvertToString(src string, srcCode string, tagCode string) string
- func DecodeData(s string) ([]byte, error)
- func DecodePattern(s string) ([]byte, error)
- func GetProbes(aliveHosts []string)
- func NewSizeWG(size int) *sizeWG
- func PortCheck(host string, port int) (result bool)
- func PortIsOpen(ip net.IP, port int) (result bool, err error)
- func Scan(host []string)
- func ScanAllPort(host string) []string
- func ScanPort2(host string)
- func TaskPort(ip string, debugLog *log.Logger)
- func TcpPort(host string, port int) bool
- func Worker(tasksCh <-chan int, wg *sync.WaitGroup, ips string)
- func WriteResult(host []string)
- type Directive
- type Extras
- type HttpInfo
- type Match
- type Probe
- type ProbesRarity
- type Result
- type Service
- type Target
- type VScan
- type Workdist
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPorts = []int{21, 22, 23, 25, 80, 443, 8080, 110, 135, 139, 445, 389, 489, 587, 1433, 1434, 1521, 1522, 1723, 2121, 3000, 3306, 3389, 4899, 5631, 5632, 5800, 5900, 7071, 43958, 65500, 4444, 8888, 6789, 4848, 5985, 5986, 8081, 8089, 8443, 10000, 6379, 7001, 7002}
Functions ¶
func DecodeData ¶
func DecodePattern ¶
func ScanAllPort ¶
func WriteResult ¶
func WriteResult(host []string)
Types ¶
type Match ¶
type Match struct { IsSoft bool Service string Pattern string VersionInfo string PatternCompiled *regexp.Regexp }
func (*Match) MatchPattern ¶
func (*Match) ParseVersionInfo ¶
type Probe ¶
type Probe struct { Name string Data string Protocol string Ports string SSLPorts string TotalWaitMS int TCPWrappedMS int Rarity int Fallback string Matchs *[]Match }
func (*Probe) ContainsPort ¶
type ProbesRarity ¶
type ProbesRarity []Probe
func (ProbesRarity) Len ¶
func (ps ProbesRarity) Len() int
func (ProbesRarity) Less ¶
func (ps ProbesRarity) Less(i, j int) bool
func (ProbesRarity) Swap ¶
func (ps ProbesRarity) Swap(i, j int)
type Target ¶
func (*Target) GetAddress ¶
Click to show internal directories.
Click to hide internal directories.