fix: mac.changer now updates global interface mac address variable

This commit is contained in:
evilsocket 2018-01-25 16:00:46 +01:00
commit 62825cd32a

View file

@ -85,6 +85,10 @@ func (mc *MacChanger) setMac(mac net.HardwareAddr) error {
}
_, err := core.Exec("ifconfig", args)
if err == nil {
mc.Session.Interface.HW = mac
}
return err
}