{"id":1768,"date":"2015-10-21T11:19:54","date_gmt":"2015-10-21T03:19:54","guid":{"rendered":"https:\/\/www.ookangzheng.com\/?p=1768"},"modified":"2020-05-24T15:59:53","modified_gmt":"2020-05-24T07:59:53","slug":"%e6%8c%87%e4%bb%a4%e6%9b%b4%e6%94%b9macaddress%e5%9c%b0%e5%9d%80-windowsmaclinux%e7%9a%86%e5%8f%af","status":"publish","type":"post","link":"https:\/\/www.ookangzheng.com\/%e6%8c%87%e4%bb%a4%e6%9b%b4%e6%94%b9macaddress%e5%9c%b0%e5%9d%80-windowsmaclinux%e7%9a%86%e5%8f%af\/","title":{"rendered":"\u6307\u4ee4\u66f4\u6539MacAddress\u5730\u5740 Windows,Mac,Linux\u7686\u53ef"},"content":{"rendered":"

\u60a8\u9084\u5728\u70ba\u6bcf\u500b\u4e0d\u540c\u5e73\u53f0\u7684\u96fb\u8166\u66f4\u63dbMac \u5730\u5740\u800c\u7169\u60f1\u9ebc\uff0c\u4e00\u4e0b\u4f7f\u7528\u9019\u500b\u6307\u4ee4\u96c6\u5c31\u53ef\u4ee5\u4fee\u6539\u54af<\/p>\n

\u7bc4\u4f8b\uff1a\u6211\u4ee5Mac\u5e73\u53f0\u70ba\u4f8b\u5b50<\/p>\n

\u78ba\u4fdd\u60a8\u7684\u7cfb\u7d71\u74b0\u5883\u5df2\u7d93\u6709\u5b89\u88ddPython 2\uff0c\u9019\u500b\u5c31\u4e0d\u591a\u8aaa\u54af\uff0c\u54b1\u5011\u958b\u59cb\u5427<\/p>\n

\u7b2c\u4e00\u6b65\uff1a\u4e8c\u9078\u4e00<\/p>\n

pip install SpoofMAC \u6216 easy_install SpoofMAC<\/pre>\n

 <\/p>\n

\u6216\u8005\u76f4\u63a5Git \u53bb\u6293LOL<\/p>\n

git clone git:\/\/github.com\/feross\/SpoofMAC.git\n\ncd SpoofMAC\n\npython setup.py install<\/pre>\n

 <\/p>\n

\u7b2c\u4e8c\u90e8\uff1a\u5b89\u88dd\u5b8c\u7562\u540e\uff0c\u6211\u5011\u8981\u958b\u59cb\u57f7\u884c\u54af<\/p>\n

\u5217\u51fa\u6211\u5011\u96fb\u8166\u6240\u6709\u7684\u53ef\u7528\u9023\u63a5\u754c\u9762\u00a0spoof-mac.py list<\/p>\n

\u6216 \u5217\u51fa\u55ae\u4e00\uff0c\u6211\u8981WIFI\uff0c<\/p>\n

spoof-mac.py list --wifi<\/pre>\n

 <\/p>\n

\u7b2c\u4e09\u90e8\uff1a\u6211\u8981\u57f7\u884c\u66f4\u6539MAC\u5730\u5740\u54af\uff0c\u9019\u88e1\u4ee5Wifi\u70ba\u4f8b\u5b50\uff0c\u9700\u8981Root\u6b0a\u9650\u54e6\uff01<\/p>\n

Wifi\u90e8\u4efd\uff0c<\/p>\n

spoof-mac.py randomize wi-fi<\/pre>\n

 <\/p>\n

\u6216\u8005\u81ea\u5b9a\u7fa9\u3001\u5ba2\u88fd\u5316\u81ea\u5df1\u7684MAC\u5730\u5740<\/p>\n

spoof-mac.py set 00:00:00:00:00:00 wi-fi<\/pre>\n

 <\/p>\n

\u9019\u6a23\u5c31\u5927\u529f\u544a\u6210\u5566\uff0c\u5982\u679c\u4f60\u5f8c\u6094\u4e86\u662f\u5426\u53ef\u4ee5\u8fd4\u56de\u5462\uff0c\u53ef\u4ee5\u7684\uff01\uff01 \u57f7\u884c\u4e00\u4e0b\u6307\u4ee4\u5c31\u597d\u4e86(\u8981ROOT\u6b0a\u9650\uff09<\/p>\n

spoof-mac.py reset wi-fi<\/pre>\n

 <\/p>\n

******\u88dc\u5145*******<\/p>\n

OSX\u7cfb\u7d71\u4e0d\u6703\u7d66\u4f60\u6c38\u4e45\u66f4\u6539\u54af\uff0c\u9700\u8981\u624b\u52d5\u5728\u96fb\u8166\u958b\u555f\u6642\uff0c\u8f09\u5165SpoofMAC\u9019\u500b\u8edf\u9ad4\u624d\u80fd\u7e7c\u7e8c\u4f7f\u7528<\/p>\n

\u4ee5\u4e0b\u4ee3\u78bc\u8acb\u4f7f\u7528 Terminal \u6a21\u5f0f\uff0cRoot\u6b0a\u9650\u57f7\u884c\u5b83<\/p>\n

# Download the startup file for launchd<\/span>\ncurl https:\/\/raw.githubusercontent.com\/feross\/SpoofMAC\/master\/misc\/local.macspoof.plist ><\/span> local<\/span>.macspoof.plist\n\n# Customize location of `spoof-mac.py` to match your system<\/span>\ncat local<\/span>.macspoof.plist |<\/span> sed \"<\/span>s|\/usr\/local\/bin\/spoof-mac.py|`<\/span>which spoof-mac.py`<\/span><\/span>|\"<\/span><\/span> |<\/span> tee local<\/span>.macspoof.plist\n\n# Copy file to the OS X launchd folder<\/span>\nsudo cp local<\/span>.macspoof.plist \/Library\/LaunchDaemons\n\n# Set file permissions<\/span>\ncd<\/span> \/Library\/LaunchDaemons\nsudo chown root:wheel local<\/span>.macspoof.plist\nsudo chmod 0644 local<\/span>.macspoof.plist<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u60a8\u9084\u5728\u70ba\u6bcf\u500b\u4e0d\u540c\u5e73\u53f0\u7684\u96fb\u8166\u66f4\u63dbMac \u5730\u5740\u800c\u7169\u60f1\u9ebc\uff0c\u4e00\u4e0b\u4f7f\u7528\u9019\u500b\u6307\u4ee4\u96c6\u5c31\u53ef\u4ee5\u4fee\u6539\u54af \u7bc4\u4f8b\uff1a\u6211\u4ee5Mac\u5e73\u53f0\u70ba\u4f8b\u5b50 \u78ba\u4fdd\u60a8\u7684\u7cfb\u7d71\u74b0\u5883\u5df2\u7d93\u6709\u5b89\u88ddPython 2\uff0c\u9019\u500b\u5c31\u4e0d\u591a\u8aaa\u54af\uff0c\u54b1\u5011\u958b\u59cb\u5427 \u7b2c\u4e00\u6b65\uff1a\u4e8c\u9078\u4e00 pip install SpoofMAC \u6216 easy_install SpoofMAC   \u6216\u8005\u76f4\u63a5Git \u53bb\u6293LOL git clone git:\/\/github.com\/feross\/SpoofMAC.git cd SpoofMAC…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,39,38],"tags":[],"class_list":["post-1768","post","type-post","status-publish","format-standard","hentry","category-linux","category-mac","category-windows"],"_links":{"self":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/posts\/1768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/comments?post=1768"}],"version-history":[{"count":0,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/posts\/1768\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/media?parent=1768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/categories?post=1768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/tags?post=1768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}