Arsenius Posted February 17, 2013 Share Posted February 17, 2013 Hello guys, I got a Pineapple MK2 and i flashed it with the MK3 software today. Now im wondering how to get Karma and DNS Spoof to run on start. found 2 topics with the same question but no answer: http://forums.hak5.org/index.php?/topic/12879-autostart-jasager-karma/?hl=%2Bkarma+%2Bon+%2Bboothttp://forums.hak5.org/index.php?/topic/24519-auto-phishing-mark-3/?hl=%2Bkarma+%2Bon+%2Bboot Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted February 17, 2013 Share Posted February 17, 2013 You will want to add the start commands to your /etc/rc.local file: hostapd_cli -p /var/run/hostapd-phy0 karma_enable dnsspoof -i br-lan -f /pineapple/config/spoofhost > /dev/null 2>/pineapple/logs/dnsspoof.log You may have to edit the dnsspoof parameters but otherwise this will work. Quote Link to comment Share on other sites More sharing options...
Arsenius Posted February 17, 2013 Author Share Posted February 17, 2013 (edited) hi Sebkinne, thx for your reply. i olmost got it to work, i looked at the php file's of the webinterface and i changed the lines in rc.local to this: /www/pineapple/startkarma.sh /www/pineapple/update-associations.sh that worked for karma. i changed your line for dnsspoof to this: dnsspoof -i br-lan -f /www/pineapple/spoofhost > /dev/null 2>/www/pineapple/dnsspoof.log this works from the cli line but not when put in the rc.local file and rebooting the device. i also tried putting /www/pineapple/dnsspoof.sh in the rc.local file but also no luck. when running ps aux | grep dns after booting it does not show a proces running Edited February 17, 2013 by Arsenius Quote Link to comment Share on other sites More sharing options...
Arsenius Posted February 18, 2013 Author Share Posted February 18, 2013 (edited) i got it to work by putting it all on one line: sh /www/pineapple/startkarma.sh & /www/pineapple/update-associations.sh & /www/pineapple/dnsspoof.sh Edited February 18, 2013 by Arsenius Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.