aanarchyy / wifite-mod-pixiewps

GNU General Public License v3.0
104 stars 46 forks source link

Dont use same manufactorer in random -mac........Please #13

Closed nuroo closed 9 years ago

nuroo commented 9 years ago

use "macchanger -A wlan1" instead plz

-A argument uses known random manufacturer. -r total made up mac address

nuroo commented 9 years ago

Codes lines 1620-1647

nuroo commented 9 years ago

!/bin/bash

clear

stop networking

/etc/init.d/network-manager stop > /dev/null

run kill all monitors script

./airmondown.sh #

Display Network interfaces as choice

xterm -geometry 0x0 -e "iwconfig |grep "Mode:Monitor" >> /tmp/mon.txt" & wait airmon-ng |sed 's/^/* /' # echo "-----------------------------------------------" echo "" echo -n " Select Interface to Spoof: " read -e IFACE echo "" echo "-----------------------------------------------" echo "" # # wait

Bring Chosen Inteface down

ifconfig $IFACE down

this runs macchanger -A and strips out the new random mac

and passes it to variable $MACC

MACC=$(macchanger -A $IFACE | awk ' {print $3 }' | tail -1) ifconfig $IFACE up # #

Start Moniter interface

airmon-ng start $IFACE MON=mon RANDMAC=$IFACE$MON ifconfig $RANDMAC down macchanger -m $MACC $RANDMAC ifconfig $RANDMAC up

echo $IFACE

echo "Monitor Iterface is now spoofed to >>" $RANDMAC $MACC

my first little script. baby steps.

nuroo commented 9 years ago

Not same wifi manufacturer as original, in r107. fixed