update FTP + Message on Slave-Mode
All checks were successful
release-tag / release-image (push) Successful in 2m21s
All checks were successful
release-tag / release-image (push) Successful in 2m21s
This commit is contained in:
3
main.go
3
main.go
@@ -70,7 +70,7 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
portsTCP := []string{"135", "139", "445", "389", "636", "3268", "3269", "88", "3389", "3306", "27017", "5432", "25", "123", "5900", "143", "993", "1723"}
|
||||
portsTCP := []string{"135", "139", "445", "389", "636", "3268", "3269", "88", "3389", "3306", "27017", "5432", "25", "123", "5900", "143", "993", "1723", "21"}
|
||||
for _, port := range portsTCP {
|
||||
go startTCPListener(port)
|
||||
}
|
||||
@@ -178,6 +178,7 @@ func processIP(ip, port, proto string, w http.ResponseWriter) {
|
||||
}
|
||||
return
|
||||
}
|
||||
log.Printf("✅ IP %s relayed with port %s/%s", ipKey, port, proto)
|
||||
defer resp.Body.Close()
|
||||
if w != nil {
|
||||
w.WriteHeader(resp.StatusCode)
|
||||
|
Reference in New Issue
Block a user