[share] tools konek wifi lewat terminal, buat yang kurang pass sama wicd
#1
Assalamualaikum Wr.Wb

berhubung ane baru belajar bash, jadi mohon maaf kalo source nya kurang menarik. cuma mau share & di kembangin sama2 Smile

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 ==========----------"

}
[shcode=This_site_xss-ed]

#2
wuiihhh mantep nih... buat yg bosen sama WICD Smile

#3
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

#4
(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 Smile

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 Big Grin, keren om koecoret Big Grin

#5
manteb nih, +1 dari ane Big Grin

#6
mantap, ijin copy dan make om Smile
aceh.indonesianbacktrack.or.id


#7
ijin coba OmSmile
Spoiler! :
<<Back|Track
☆‍‍‍‍☆‍‍‍‍☆‍‍‍‍☆☆


#8
wah wah mantaappp oom toolsnya .. ijin coba .. Smile (y)

#9
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

#10
(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 Smile






Users browsing this thread: 1 Guest(s)