TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SpoofMAC - Spoof your MAC address in Mac OS X

126 点作者 nh超过 12 年前

10 条评论

feross超过 12 年前
Original author here. Thanks, nh, for sharing this.<p>To those wondering why you would use SpoofMAC when you can just do `sudo ifconfig en1 ether 00:11:22:33:44:55:66`, let me explain why I wrote this.<p>The main advantage of SpoofMAC is that it automatically disassociates from any connected Wi-Fi networks before it changes your MAC address. The ensures the MAC change will be applied correctly. The biggest annoyance with doing it manually is figuring out how to dissociate manually, which usually requires trying to connect to a non-existant network.<p>After I put the code on GitHub, a few random contributors submitted patches for features like random MAC generation, etc. &#60;3 open source.<p>Glad that so many are finding this useful.
评论 #5072001 未加载
pla3rhat3r超过 12 年前
There was a great article in 2600 Mag about scanning a network for devices that were already connected to a pay-to-play WiFi network. You could then change your mac address to a mac address already connected. You would then share the connection and bypass having to pay for WiFi. It was really handy at airports and coffee shops that would charge to get online.
评论 #5071207 未加载
评论 #5071112 未加载
评论 #5071249 未加载
评论 #5074118 未加载
leoh超过 12 年前
Cool script--it has some useful features like generating a random MAC. But it's also possible to set your mac with:<p>sudo ifconfig [device] [mac]<p>...and one can replace [mac] with `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'` for a random address.
评论 #5071158 未加载
评论 #5071039 未加载
评论 #5071122 未加载
评论 #5071228 未加载
rdl超过 12 年前
What I really want is a tool which lets me masquerade (to nmap, etc.) as whatever kind of machine I want. Pick MAC addresses out of the correct range, but also change how the network stack, etc. respond to various passive and active attempts at fingerprinting.<p>It's eventually going to throw up alarms if your macbook pro osx 10.8.2 with an valid apple or intel MAC is on a network segment, then drops off, then a machine reappears with a DECstation MAC address.
评论 #5071807 未加载
pkill17超过 12 年前
Seems a bit silly to write a python script for this when most people have it in a bash function. I find running a python command through the interpreter like that to be cumbersome, but a good script nonetheless.<p>On another note: GO BEARS! Down with the tree!
bjonathan超过 12 年前
If you are on windows , there is a small app to change your mac address easily: <a href="http://www.zokali.com/win7-mac-address-changer" rel="nofollow">http://www.zokali.com/win7-mac-address-changer</a>
TkTech超过 12 年前
Neato, I liked it so I cleaned it up/rewrote it a bit -&#62; <a href="https://github.com/feross/SpoofMAC/pull/4" rel="nofollow">https://github.com/feross/SpoofMAC/pull/4</a>
gws超过 12 年前
guys, what are practical use cases for spoofing your MAC address?
评论 #5071874 未加载
评论 #5072573 未加载
评论 #5071796 未加载
评论 #5073736 未加载
评论 #5075383 未加载
pokoleo超过 12 年前
Literally did this 10 minutes ago when connecting to hotel Wi-Fi.<p>`$ sudo ifconfig en1 ether 00:11:22:33:44:55:66`
nthitz超过 12 年前
Careful, you may be violating the CFAA by using tools such as this.
评论 #5072850 未加载