Sebkinne Posted March 4, 2012 Posted March 4, 2012 So here's the 50-wps script. if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then for dir in /var/run/hostapd-*; do [ -d "$dir" ] || continue hostapd_cli -p "$dir" wps_pbc done fi Shouldn't be too hard for someone to whip up an alternate script for it! I actually already have. I am just integrating it into the UI. What you should know, the reset and WPS button are.. mixed up at the momment. The bottom button which should be the reset button is the WPS button and vice versa. Not that it matters though, there is something cool coming your way ;) Best, Sebkinne Quote
barry99705 Posted March 5, 2012 Posted March 5, 2012 Okay, what I've done with the button so far... nano /etc/hotplug.d/button/50-wps change the code to this, #!/bin/sh /www/pineapple/dnsspoof.sh Tadaa!! Now you won't have to log into the box to turn on your Nyan Cat!! :P Quote
telot Posted March 5, 2012 Posted March 5, 2012 Okay, what I've done with the button so far... nano /etc/hotplug.d/button/50-wps change the code to this, #!/bin/sh /www/pineapple/dnsspoof.sh Tadaa!! Now you won't have to log into the box to turn on your Nyan Cat!! :P Sweet jeebus! Pure awesomeness barry! I'm seeing this launch my tcpdump script after dinner... telot Quote
barry99705 Posted March 5, 2012 Posted March 5, 2012 Sweet jeebus! Pure awesomeness barry! I'm seeing this launch my tcpdump script after dinner... telot It will start it, but not stop it, so just a heads up. I'm what most folks call an advance script-kiddy. I can modify one to do what I want it to, usually, but not create my own yet. :P Quote
iamk3 Posted March 6, 2012 Posted March 6, 2012 I'm about the same barry99705. I'm excited to see what Seb has in the works and also for the new firmware! I have to keep reminding myself that Darren and crew are 4hrs behind me. :P Quote
barry99705 Posted March 6, 2012 Posted March 6, 2012 (edited) I'm about the same barry99705. I'm excited to see what Seb has in the works and also for the new firmware! I have to keep reminding myself that Darren and crew are 4hrs behind me. :P And Sebkinne, and digininja are 5 hours ahead! Edited March 6, 2012 by barry99705 Quote
Sebkinne Posted March 6, 2012 Posted March 6, 2012 I have implemented the buttons a little differently, I am sure many people here will like it. It will be in version 1.0.1. Barry, have you tested if your script actually works? Pressing the WPS button actually triggers the "rest button" function and vice versa. Would be great to hear if yours works "the right way around", but I doubt it. So to get the effect of the script you would have to press the "reset" button at the bottom... Best, Seb Quote
barry99705 Posted March 6, 2012 Posted March 6, 2012 (edited) I have implemented the buttons a little differently, I am sure many people here will like it. It will be in version 1.0.1. Barry, have you tested if your script actually works? Pressing the WPS button actually triggers the "rest button" function and vice versa. Would be great to hear if yours works "the right way around", but I doubt it. So to get the effect of the script you would have to press the "reset" button at the bottom... Best, Seb Yep, I tested it, and it works. Turned off dnsspoof, hit a site on my test laptop, goes to site. Hit the wps button and wait a minutes, hit site and get the cat. They're not backwards on mine, though I haven't tried the reset button. I've been pretty leary of the reset buttons with any of the open router operating systems. Had to tear apart a few wrt's because of that damn button. Okay, I guess it's not working... Edited March 6, 2012 by barry99705 Quote
blackball Posted March 7, 2012 Posted March 7, 2012 I was wondering the same thing about using an Alfa USB rather than a 3G hot spot. How would you even go about configuring that? I'm thinking that way you could do a coffee house redirect using their wifi, but you'd need to do something about getting past the splash page... Quote
PineDominator Posted March 8, 2012 Posted March 8, 2012 I was wondering the same thing about using an Alfa USB rather than a 3G hot spot. How would you even go about configuring that? I'm thinking that way you could do a coffee house redirect using their wifi, but you'd need to do something about getting past the splash page... It looks like Darren has been looking into getting the alfa usb working http://forums.hak5.org/index.php?showtopic=25640&view=findpost&p=197329 Quote
Sebkinne Posted March 8, 2012 Posted March 8, 2012 It looks like Darren has been looking into getting the alfa usb working http://forums.hak5.org/index.php?showtopic=25640&view=findpost&p=197329 As far as I know it is just a matter of downloading / including the right drivers in the firmware. It should work quite "out of the box" then. Best, Sebkinne Quote
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.