Jump to content

Noob question, How do i spoof my pineapples mac address?


mrgray

Recommended Posts

Do i really need to spoof my mac? Can the people i'm doing security testing on (Under contract) find me?
Also can i connect to a VPN inside the pineapple?

Link to comment
Share on other sites

This is how:

ifconfig wlan0 down
ifconfig wlan0 hw ether 00:11:22:33:44:55
ifconfig wlan0 up

People can generally find you if they know what their doing.

You could connect the pineapple to a vpn, just install the packages you need.

Link to comment
Share on other sites

There's a few ways. I personally find

ifconfig wlanX down

macchanger -r wlanX

ifconfig wlanX up

easier. Also a third option is to change it directly under option macaddr in ur /etc/config/wireless. If u do that it's good to add an "option phy phyX" above it though.

Link to comment
Share on other sites

  • 1 month later...

Just temporarily. A reboot will reset the MAC.

If you want persistence you could add it to your /etc/rc.local file!

I put this in my rc.local file

ifconfig wlan0 down
macchanger -r wlan0
ifconfig wlan0 up 

and it changes the mac address of the interface however i am no longer able to see the SSID or connect, i placed it bellow the comment that says do not touch anything above this line.

Link to comment
Share on other sites

I put this in my rc.local file

ifconfig wlan0 down
macchanger -r wlan0
ifconfig wlan0 up 

and it changes the mac address of the interface however i am no longer able to see the SSID or connect, i placed it bellow the comment that says do not touch anything above this line.

Put this instead:

ifconfig wlan0 down
macchanger -r wlan0
wifi

That will not only bring up the wifi interface but also start hostapd again.

Best Regards,

Sebkinne

Link to comment
Share on other sites

Put this instead:

ifconfig wlan0 down
macchanger -r wlan0
wifi

That will not only bring up the wifi interface but also start hostapd again.

Best Regards,

Sebkinne

Sorry, just tried that and the log shows that the mac address is being changed but it then reverts to the default one.

Link to comment
Share on other sites

Ok it seems like hostapd is changing the mac address after it has been changed by macchanger. I tried putting a fake mac in /etc/config/wireless in place of the existing one however that did not work and the AP never went up. What do i need to modify to get this to work?

thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...