norsec0de Posted August 13, 2014 Share Posted August 13, 2014 Hey, I ran the Auto Harvester for a few hours and collected hundreds of SSID's which were auto-added to PineAP SSID Management tab. I started removing them one at a time and got frustrated, but then clicked the "Remove SSID" without typing in a SSID and it cleared the list...phew =) Just a quick tip. Cheers @norsec0de Quote Link to comment Share on other sites More sharing options...
daniboy92 Posted August 13, 2014 Share Posted August 13, 2014 Thanks for tip. I'm really confuse about how works PineAP, maybe someone can do a little tutorial or explanation while Darren uploads a videotutorial for this... Quote Link to comment Share on other sites More sharing options...
ARDETROYA Posted August 13, 2014 Share Posted August 13, 2014 Hey, I ran the Auto Harvester for a few hours and collected hundreds of SSID's which were auto-added to PineAP SSID Management tab. I started removing them one at a time and got frustrated, but then clicked the "Remove SSID" without typing in a SSID and it cleared the list...phew =) Just a quick tip. Cheers @norsec0de Thanx... Quote Link to comment Share on other sites More sharing options...
Sailor Posted August 13, 2014 Share Posted August 13, 2014 Good tip. You can find the file with these values under /etc/pineapple/ssid_file You can easily copy/clear this file via ssh, maybe even use a dip config to load different ssid_files per deployment environment Quote Link to comment Share on other sites More sharing options...
SGMPhil Posted September 1, 2014 Share Posted September 1, 2014 Thanks for the tip - I had the same issue after using the pineapple for a while. Quote Link to comment Share on other sites More sharing options...
WPA3 Posted September 1, 2014 Share Posted September 1, 2014 Thanks for tip. I'm really confuse about how works PineAP, maybe someone can do a little tutorial or explanation while Darren uploads a videotutorial for this... Have you seen this ? https://www.youtube.com/watch?v=40Igim3upL0&list=UUTkpeicFNBuHJCvp4LZEuvw Here's also a good thread https://forums.hak5.org/index.php?/topic/33488-got-pineap-questions-let-me-answer-them/ Quote Link to comment Share on other sites More sharing options...
WiFi Cowboy Posted December 21, 2014 Share Posted December 21, 2014 Hey, I ran the Auto Harvester for a few hours and collected hundreds of SSID's which were auto-added to PineAP SSID Management tab. I started removing them one at a time and got frustrated, but then clicked the "Remove SSID" without typing in a SSID and it cleared the list...phew =) Just a quick tip. Cheers @norsec0de This does not work for me. PineAP enabled, using Iceweasel. any suggestions? Quote Link to comment Share on other sites More sharing options...
pla12 Posted December 23, 2014 Share Posted December 23, 2014 You could do the following to add yourselves a "Clear ssid list" button... Use at your own risk! Darren and Seb probably wont want to support you if you modify the source code and break things! but nothing a restore can't fix... SSH to your pineapple, Backup the following files in case you want to revert: /pineapple/components/system/pineap/functions.php and /pineapple/components/system/pineap/tabs/pineap.php Edit the /pineapple/components/system/pineap/functions.php file with your favorite text editor (ie. vi) Find the following if condition "if (isset($_GET['pineAP_SSID'])) {"... Replace this entire condition with this new If condition. if (isset($_GET['pineAP_SSID'])) { $ssid = $_POST['ssid']; $pineAP = new PineAP(); if (isset($_POST['add_ssid'])) { $pineAP->addSSID($ssid); } if (isset($_POST['del_ssid'])) { $pineAP->delSSID($ssid); } if (isset($_POST['clear_ssid'])){ exec("rm /etc/pineapple/ssid_file"); touch("/etc/pineapple/ssid_file"); } }else { echo "<b></b>Unkown Command<br/>"; }} 6. Save the file 7. Edit the /pineapple/components/system/pineap/tabs/pineap.php file with your favorite text editor 8. Add the following code at the bottom of this file just before the "</fieldset>" on the last line. <form method="POST" action="/components/system/pineap/functions.php?pineAP_SSID" onsubmit="$(this).AJAXifyForm(save_pineap_settings); return false;"> <input type='submit' name='clear_ssid' value='Clear SSID List'> </form> 9. Save the file and reload the PinAP page and you will have a functional " Clear list" button below the remove ssid button. Quote Link to comment Share on other sites More sharing options...
WiFi Cowboy Posted December 29, 2014 Share Posted December 29, 2014 Kewl pla12. Thanks for the info. I will have to try this when I get some time (moving right now). Quote Link to comment Share on other sites More sharing options...
pla12 Posted December 29, 2014 Share Posted December 29, 2014 I modified the code just a bit since I posted this I switched exec("rm /etc/pineapple/ssid_file"); for exec("echo ''> /etc/pineapple/ssid_file"); those are two single quotes after the echo command. This seems to work a bit better and the interface auto refreshes with the empty list. Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted December 31, 2014 Share Posted December 31, 2014 I agree the ssid management feature could use some love. Adding is simple but removing is a pain. I usually end up dropping to a shell and using nano to edit /etc/pineapple/ssid_file I have a video on PineAP that'll be going out Monday. 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.