优化ip段处理模块、端口扫描模块。

This commit is contained in:
shadow1ng
2020-12-03 23:20:39 +08:00
parent b00a5d4403
commit 818102a814
4 changed files with 9 additions and 24 deletions
+1
View File
@@ -78,6 +78,7 @@ func isping(ip string) bool {
if err != nil {
return false
}
defer conn.Close()
_, err = conn.Write(buffer.Bytes())
if err != nil {
return false