修改webscan结构

This commit is contained in:
shadow1ng
2021-01-01 12:26:38 +08:00
parent fbf480b3a8
commit 600904b41a
4 changed files with 26 additions and 48 deletions
+4 -4
View File
@@ -217,10 +217,10 @@ func writecron(conn net.Conn, host string) (flag bool, text string, err error) {
}
if strings.Contains(text, "OK") {
flag = true
} //else {fmt.Println(text)}
} //else {fmt.Println(text)}
} //else {fmt.Println(text)}
} //else {fmt.Println(text)}
}
}
}
}
text = strings.TrimSpace(text)
if len(text) > 50 {
text = text[:50]