itsm0ld Posted November 20, 2011 Share Posted November 20, 2011 Normally when I use any type of wireless card or tool for penetration testing I like to spoof the mac address. I was able to do this on the MK2 by following this post LINK. After getting my new MK3 in I am excited to start using it right away and changing the mac is a must have for me. Here is how I got it working: 1) Get your pineapple on the internet, use either method for windows or Linux as shown HERE 2) SSH to your pineapple: If your haven't changed the password the default is pineapplesareyummy ssh 172.16.42.1 3) Test that your pineapple can get to the internet: ping 188.8.131.52 If you get a reply move on to the next step if not you didn't do step 1 right... 4)Type the following commands to update your package list and install macchanger: opkg update opkg install macchanger 5) Now that macchanger is installed we need to edit the startkarma.sh script to run macchanger: nano /www/pineapple/startkarma.sh It should look like this default: hostapd -dd /etc/hostapd/karma.conf >> /tmp/karma.log 6) Add the following lines ABOVE the existing hostapd line: ifconfig wlan0 down macchanger -r ifconfig wlan0 up Just save the changes and your ready to go! As soon as you click the link to start karma in the web interface macchanger will assign a random mac to the wireless interface! As a note every time you start and stop karma you will get a different random mac. If you would prefer to assign your own use the following syntax for step 6: macchanger wlan0 -m xx:xx:xx:xx:xx:xx Replace the xx with whatever you want ie 00:11:22:33:44:55 . I hope this will save someone some work! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.