Closed cnekmp closed 6 months ago
Hello,
I'm running this script on Archlinux. When my windows machine tries to connect to this host I get following error. Any clues?
[unknown ~/go]$ sudo go run hostscan-bypass.go -l 192.168.1.100 -p 443 -r myvpnhost:443 -s[] Listening for AnyConnect client connection.. [] Accepted from: 192.168.122.29:50235 remote error: tls: handshake failure [] Accepted from: 192.168.122.29:50236 remote error: tls: handshake failure [] Accepted from: 192.168.122.29:50237 remote error: tls: handshake failure
Solution was to change line 138 to:
conf = tls.Config{InsecureSkipVerify: true, MinVersion: tls.VersionTLS12, Certificates: []tls.Certificate{cert}}
Hello,
I'm running this script on Archlinux. When my windows machine tries to connect to this host I get following error. Any clues?
[unknown ~/go]$ sudo go run hostscan-bypass.go -l 192.168.1.100 -p 443 -r myvpnhost:443 -s[] Listening for AnyConnect client connection.. [] Accepted from: 192.168.122.29:50235 remote error: tls: handshake failure [] Accepted from: 192.168.122.29:50236 remote error: tls: handshake failure [] Accepted from: 192.168.122.29:50237 remote error: tls: handshake failure