halo / LinkLiar

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

Investigate WLAN auto-disassociation on Lion #2

Closed halo closed 11 years ago

halo commented 12 years ago

https://github.com/funkensturm/AirPortClown/issues/5

kwolk commented 12 years ago

Ah, I see, I must have downloaded just the source before. It does work as you suggested, except for that pesky issue where sometimes it does and other times not (more often, not, unfortunately) accept the random code entered - will make this a new issue.

halo commented 12 years ago

So, regarding this issue:

Let's say you have two MAC addresses that you know it will accept. Say aa:bb:cc:dd:ee:ff and ff:ee:dd:cc:bb:aa. Could you confirm that you can switch between these two addresses (on the WLAN interface) while you are connected to a WLAN station? If that is the case then I can close this issue. I think that Lions ifconfig automatically takes care of the disassociation.

kwolk commented 12 years ago

"Sorry for that :) But just for testing I used 3 lines of code instead of 30 at the expense of that the password is not remembered. With some exploring I think the next feature would be to get the startup going. But I'll have to research a little bit there (questions like "when the Wi-Fi is connected to a station on startup, should I force-disassociate?", "What if the interface is down during startup, should I force start it for a few seconds?", "Should I have an invisible agent listen to the activation of the Wi-Fi and then ask for the root password for changing the mac?"). Difficult questions :)"

You could always have a check-box option for "force-disassociate" which would be respected no matter the UI available or not.

On Start-up, how you achieve this, I don't know, as with your conscious efforts to reduce the code by a factor of ten, system resources should always be in mind, they are mine and I'm an end user!

kwolk commented 12 years ago

I find that the software does not change my IP and I do have a list of IP numbers that should work, I have also tried a few of the randomly issues ones as well for good measure, but I still do not get a change.

So the issue of it changing remains in that it does not change the IP, even to one it should. I also do not think the disassociation problem is solved as the AirPort icon does not go grey, although I am not sure if it would with the method employed?

kwolk commented 12 years ago

The disassociation issue remains because it doesn't disassociate me, it's still a manual process.

halo commented 11 years ago

Closing till someone figures out how to do this :)