halo / LinkLiar

:link: Link-Layer MAC spoofing GUI for macOS
http://halo.github.io/LinkLiar
MIT License
1.24k stars 84 forks source link

Keep going guys #5

Closed kwolk closed 11 years ago

kwolk commented 11 years ago

Come on, let's make this a reality, it's a good project with a lot of benefits, is this project still active?

jakedambergs commented 11 years ago

Not working as of 10.8.2 12C3012

halo commented 11 years ago

I'm myself on 10.8.2 now so I can debug properly. Will look into this as soon as I find the time :)

jakedambergs commented 11 years ago

Great, it's appreciated! As far as I can see, ifconfig is no longer working; I haven't looked at your code, I assume it's based on that. Ifconfig doesn't throw an error, but it doesn't write a new address either anymore.

halo commented 11 years ago

@jakedambergs Could you try this one? https://github.com/halo/LinkLiar/raw/v0.1.1/latest_build/LinkLiar.zip I can change MACs for Wifi and Ethernet (Thunderbolt) on my macbook air without problems.

jakedambergs commented 11 years ago

It accepts the new mac, in that it does not produce an error message, but the mac address does not change.

Thanks though

halo commented 11 years ago

Hi! Thanks for your feedback. As a matter of fact, LinkLiar simply issues a ifconfig command like so:

sudo ifconfig en0 ether aa:bb:cc:dd:ee:ff

Depending on which Inferface you use, en0 is en1 or en2 or en3 (you can figure out which is which using the command ifconfig without any parameters).

So in other words, if sudo ifconfig en0 ether aa:bb:cc:dd:ee:ff won't work, LinkLiar won't be able to change your MAC address either. Because under the hood that's all it does.

I noticed that some addresses are not accepted by ifconfig at all. Then again notice that your WiFi interface has to be activated and not associated to any network in order for you to be able to change the WiFi MAC address.

Would you mind testing the pure ifconfig command in a Terminal to see if it works with that command?

jakedambergs commented 11 years ago

On 2013-01-23, at 2:12 PM, halo notifications@github.com wrote:

Then again notice that your WiFi interface has to be activated and not associated to any network in order for you to be able to change the WiFi MAC address

This may have been the problem - I was not aware of this requirement, it did not seem to stop ifconfig from working in the past. As per my first email, I did test ifconfig, and it did not work - I originally expected this was the problem. I was more curious if it was an ifconfig bug or an "Apple's implementation of ifconfig" bug. As I'm sure you know the sometimes opt to modify standardized tools for some reason.

I will test this again with the interface not associated with a network and report back.

Thanks again.

Jake

microdev2 commented 11 years ago

I have the same problem. The new MAC is visible when querying with IFCONFIG, but the OS still reports the old MAC through the Network control panel and through the Network utility. The apps I am testing also detect the old MAC and not the new one.

halo commented 11 years ago

Hi!

LinkLiar is a graphical user interface - a simple wrapper - for the following command:

sudo ifconfig en0 ether aa:bb:cc:dd:ee:ff

(replace en0 with your interface and aa:bb:cc:dd:ee:ff with your desired MAC)

If that command does not work in Terminal, LinkLiar won't be able to change your MAC either.

Does the command work out for you manually?