diff --git a/spoofmac/interface.py b/spoofmac/interface.py index 602ce0d..a344cb5 100644 --- a/spoofmac/interface.py +++ b/spoofmac/interface.py @@ -369,11 +369,6 @@ class MacSpoofer(OsSpoofer): OS X platform specfic implementation for MAC spoofing. """ - # Path to Airport binary. This works on 10.7 and 10.8, but might be different - # on older OS X versions. - PATH_TO_AIRPORT = ( - '/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport' - ) def find_interfaces(self, targets=None): """ @@ -439,13 +434,6 @@ def set_interface_mac(self, device, mac, port): 'on' ]) - # For some reason this seems to be required even when changing a - # non-airport device. - subprocess.check_call([ - MacSpoofer.PATH_TO_AIRPORT, - '-z' - ]) - # Change the MAC. subprocess.check_call([ 'ifconfig',