feat: stream large host scans

This commit is contained in:
ZacharyZcR
2026-06-01 02:55:28 +08:00
parent ac755a9b4a
commit 3e4e2db722
11 changed files with 660 additions and 71 deletions
+1 -1
View File
@@ -899,7 +899,7 @@ func CheckInfoPoc(infostr string) string {
func GetHeader(header map[string]string) string {
var builder strings.Builder
for name, values := range header {
builder.WriteString(fmt.Sprintf("%s: %s\n", name, values))
fmt.Fprintf(&builder, "%s: %s\n", name, values)
}
builder.WriteString("\r\n")
return builder.String()