[share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - koecroet - 05-21-2012
Assalamualaikum Wr.Wb
berhubung ane baru belajar bash, jadi mohon maaf kalo source nya kurang menarik. cuma mau share & di kembangin sama2
Code: #!/bin/bash
#name redc.sh
#this is opensource
#email : [email protected]
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 "====================================" #please jangan di apus intro gue
echo -e $red"
###### ####### ###### #####
# # # # # # #
# # # # # #
###### ##### # # #
# # # # # ### #
# # # # # ### # #
# # ####### ###### ### ##### " #please jangan di apus intro gue
echo -e $blue "" #please jangan di apus intro gue
echo -e $blue "RED Connector" #please jangan di apus intro gue
echo -e $blue "[C] COPYRIGHT koecroet" #please jangan di apus intro gue
echo -e $blue "This tools can help you connect to hotspot that use wpa encrypted"
echo -e $blue "====================================" #please jangan di apus intro gue
}
{
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 ==========----------"
}
RE: [share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - drewcode - 05-21-2012
wuiihhh mantep nih... buat yg bosen sama WICD
RE: [share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - xsan-lahci - 05-21-2012
Waalaikumsalam
mantep mohon jangan di ganti tuh ya copyrightnya tanpa izin sang empu biar ga di sangka plagiat ketauan di banned permanen dan banned ip
RE: [share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - revzter - 05-21-2012
(05-21-2012, 08:25 PM)koecroet Wrote: Assalamualaikum Wr.Wb
berhubung ane baru belajar bash, jadi mohon maaf kalo source nya kurang menarik. cuma mau share & di kembangin sama2
Code: #!/bin/bash
#name redc.sh
#this is opensource
#email : [email protected]
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 "====================================" #please jangan di apus intro gue
echo -e $red"
###### ####### ###### #####
# # # # # # #
# # # # # #
###### ##### # # #
# # # # # ### #
# # # # # ### # #
# # ####### ###### ### ##### " #please jangan di apus intro gue
echo -e $blue "" #please jangan di apus intro gue
echo -e $blue "RED Connector" #please jangan di apus intro gue
echo -e $blue "[C] COPYRIGHT koecroet" #please jangan di apus intro gue
echo -e $blue "This tools can help you connect to hotspot that use wpa encrypted"
echo -e $blue "====================================" #please jangan di apus intro gue
}
{
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 ==========----------"
}
ini ni yg ane tunggu2 , keren om koecoret
RE: [share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - iKONspirasi - 05-22-2012
manteb nih, +1 dari ane
RE: [share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - iyan squid - 05-23-2012
mantap, ijin copy dan make om
RE: [share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - Al - Ayyubi - 05-23-2012
ijin coba Om
RE: [share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - u5h4nt - 05-23-2012
wah wah mantaappp oom toolsnya .. ijin coba .. (y)
RE: [share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - catBiscuit - 07-01-2012
pengguna baru izin nyoba ya bro ..... coz wicd ane suka sussah connect klo habis disconnect mesti di restart router modemnya dulu baru bisa connect...huft kenapa ya bro mohon pencerahan? thx
RE: [share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd - alkaaf - 07-01-2012
(07-01-2012, 08:00 PM)catBiscuit Wrote: pengguna baru izin nyoba ya bro ..... coz wicd ane suka sussah connect klo habis disconnect mesti di restart router modemnya dulu baru bisa connect...huft kenapa ya bro mohon pencerahan? thx
wicd emang gitu bro... malah kadang wicd kaga bisa konek ke AP yang tanpa dhcp. btw buat poster
|