mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
Add merged pull requests
This commit is contained in:
parent
40c7203d1f
commit
090ba11e5a
2 changed files with 2 additions and 1 deletions
|
@ -252,7 +252,7 @@ func (mod *ArpSpoofer) arpSpoofTargets(saddr net.IP, smac net.HardwareAddr, chec
|
|||
isSpoofing := false
|
||||
|
||||
// are we spoofing the gateway IP?
|
||||
if bytes.Equal(saddr, gwIP) {
|
||||
if net.IP.Equal(saddr, gwIP) {
|
||||
isGW = true
|
||||
// are we restoring the original MAC of the gateway?
|
||||
if !bytes.Equal(smac, gwHW) {
|
||||
|
|
|
@ -399,6 +399,7 @@ func (p *HTTPProxy) httpsWorker() error {
|
|||
},
|
||||
Host: hostname,
|
||||
Header: make(http.Header),
|
||||
RemoteAddr: c.RemoteAddr().String(),
|
||||
}
|
||||
p.Proxy.ServeHTTP(dumbResponseWriter{tlsConn}, req)
|
||||
}(c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue