connect wifi dengan terminal


 

buat kalian yang kurang pas dengan wicd ga ada salah nya coba pake tools ini
tolong jangan hapus credit nya supaya kalian tidak di sangka plagiat

#!/bin/bash

#this is opensource
#email : koecroet@indonesianbacktrack.or.id
#please dont edit this intro
clear
##################################################
#color
##################################################
black='\e[0;30m'
blue='\e[0;34m'
green='\e[0;34m'
cyan='\e[0;36m'
red='\e[1;31m'
purple='\e[0;35m'
brown='\e[0;33m'
lightgray='\e[0;37m'
darkgray='\e[1;30m'
lightgreen='\e[1;34m'
lightblue='\e[1;34m'
lightcyan='\e[1;36m'
lightred='\e[1;31m'
lightpurple='\e[1;35m'
yellow='\e[1;33m'
white='\e[1;37m'

{
echo -e $blue "===================================="
echo -e $red"
######  ####### ######       #####  
#     # #       #     #     #     # 
#     # #       #     #     #       
######  #####   #     #     #       
#   #   #       #     # ### #       
#    #  #       #     # ### #     # 
#     # ####### ######  ###  ##### "
echo -e $blue ""
echo -e $blue "RED Connector"
echo -e $blue "[C] COPYRIGHT koecroet"
echo -e $blue "This tools can help you connect to hotspot that use wpa encrypted"
echo -e $blue "===================================="
}

{

echo ""
echo -e $yellow "--==now scan hotspot==--"
echo ""
echo -ne $lightcyan "input your interface : "
read interface
clear
echo -e $yellow "--==h0tsp0t D3t3ct3d==--" && iwlist $interface scan |grep ESSID
echo -ne $lightcyan "input your essid : "
read ssid
echo ""
echo -ne $lightcyan "passhprase of essid : "
read password
echo ""
wpa_passphrase $ssid $password > /etc/wpa_supplicant.conf
wpa_supplicant -Bd -Dwext -i $interface -c /etc/wpa_supplicant.conf
dhclient && clear
echo -e $yellow "CONNECTED !!!"
echo ""
echo "" && ifconfig $interface |grep inet
echo ""
echo "examples : google.com"
echo -n "testing connection : "
read tesping
ping -c 3 $tesping
echo ""
echo ""
echo "----------========== Regards k03cr03t ==========----------"

}
copy dan simpan dengan extensi .sh
jika sudah di simpan silahkan di chmod +x wifi.sh
dan kemudian jalankan :)
untuk download disini

0 komentar "connect wifi dengan terminal", Baca atau Masukkan Komentar

Post a Comment