Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change device MAC in probe request #42

Closed
gteca opened this issue Feb 18, 2021 · 1 comment
Closed

Change device MAC in probe request #42

gteca opened this issue Feb 18, 2021 · 1 comment

Comments

@gteca
Copy link

gteca commented Feb 18, 2021

Hi,
I am doing one university project about mac address randomization, and I want to change the mac address during the probe request phase only to locally administrated, I tried in function _issue_probereq() function, the driver sends probe request with a new random mac just one and then don't move on to the authentication phase. I tried
u8 mac[] = {0xbe, 0xf5, 0x70, 0x99, 0x59, 0x1b} then
_rtw_memcpy(pwlanhdr->addr2, mac, ETH_ALEN)

@gteca
Copy link
Author

gteca commented Feb 19, 2021

It turns out that it worked! I was monitoring the wrong channel, now when I monitor the right channel, I can see the changes in MAC address before and after the scanning phase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant