Update Memcached.go

This commit is contained in:
影舞者 2024-12-19 22:29:55 +08:00 committed by GitHub
parent 2969cac802
commit d6349a9d88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,6 @@ import (
// MemcachedScan 检测Memcached未授权访问 // MemcachedScan 检测Memcached未授权访问
func MemcachedScan(info *Common.HostInfo) error { func MemcachedScan(info *Common.HostInfo) error {
fmt.Println("[+] Memcached扫描模块开始...")
realhost := fmt.Sprintf("%s:%v", info.Host, info.Ports) realhost := fmt.Sprintf("%s:%v", info.Host, info.Ports)
timeout := time.Duration(Common.Timeout) * time.Second timeout := time.Duration(Common.Timeout) * time.Second
@ -45,6 +44,5 @@ func MemcachedScan(info *Common.HostInfo) error {
Common.LogSuccess(result) Common.LogSuccess(result)
} }
fmt.Println("[+] Memcached扫描模块结束...")
return nil return nil
} }