fix: several improvements to the https.proxy module

This commit is contained in:
evilsocket 2018-01-14 19:34:15 +01:00
commit f9f0f3d5b3
9 changed files with 308 additions and 29 deletions

View file

@ -73,7 +73,7 @@ func (p *Prober) sendProbe(from net.IP, from_hw net.HardwareAddr, ip net.IP) {
} else if con, err := net.DialUDP("udp", nil, addr); err != nil {
log.Error("Could not dial %s.", name)
} else {
log.Debug("UDP connection to %s enstablished.", name)
// log.Debug("UDP connection to %s enstablished.", name)
defer con.Close()
con.Write([]byte{0xde, 0xad, 0xbe, 0xef})
}