new: improved syn.scan module performances when scanning multiple addresses

This commit is contained in:
evilsocket 2019-04-21 16:26:37 +02:00
commit 070708c307
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
4 changed files with 60 additions and 34 deletions

View file

@ -38,7 +38,8 @@ func httpGrabber(mod *SynScanner, ip string, port int) string {
},
}
if port == 443 || port == 8443 {
sport := fmt.Sprintf("%d", port)
if strings.Contains(sport, "443") {
schema = "https"
client = &http.Client{
Timeout: timeout,