diff --git a/scanner.go b/scanner.go index a0e6e20..a29569f 100644 --- a/scanner.go +++ b/scanner.go @@ -32,6 +32,7 @@ func ScanTLS(ip net.IP, out chan<- string) { c := tls.Client(conn, &tls.Config{ InsecureSkipVerify: true, NextProtos: []string{"h2", "http/1.1"}, + CurvePreferences: []tls.CurveID{tls.X25519}, }) err = c.Handshake() if err != nil {