feross / SpoofMAC

:briefcase: Change your MAC address for debugging
https://feross.org/spoofmac/
3.03k stars 269 forks source link

Attempted Cleanup #4

Closed TkTech closed 11 years ago

TkTech commented 11 years ago

Started as PEP8'ing the thing, then kept going. I wouldn't merge this as it's incomplete (readme and such need to be updated for example), but I would like input.

Only tested on 10.8, and requires docopt (pip install docopt)

TkTech commented 11 years ago

The --wifi flag seems to solve ticket #2, since you can do python SpoofMAC.py list --wifi to just get wireless devices, or python SpoofMAC.py randomize wi-fi/airport (depending on OS X)

TkTech commented 11 years ago

...and using docopt should resolve #6

feross commented 11 years ago

Cool. Thanks for trying to improve this. Will take a look and let you know what I think.

TkTech commented 11 years ago

@feross Any chance you've picked a licence? I'd recommend MIT or BSD.

feross commented 11 years ago

MIT License sounds good. Thanks for all these contributions. It looks really good.