Fail safe by entering panic mode if macchanger exits with an error.
If macchanger fails we have to treat the situation as undefined. We can't trust that get_current_mac_of_nic() returns the actual state of the hardware; perhaps it instead reports the driver's state that was successfully spoofed but not applied in the hardware?
Showing
Please register or sign in to comment