mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: sending only 1 byte as udp probe
This commit is contained in:
parent
35891c0615
commit
7d115f6b70
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ func (p *Prober) sendProbeUDP(from net.IP, from_hw net.HardwareAddr, ip net.IP)
|
|||
} else {
|
||||
// log.Debug("UDP connection to %s enstablished.", name)
|
||||
defer con.Close()
|
||||
wrote, _ := con.Write([]byte{0xde, 0xad, 0xbe, 0xef})
|
||||
wrote, _ := con.Write([]byte{0x00})
|
||||
|
||||
if wrote > 0 {
|
||||
p.Session.Queue.Lock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue