I've really been getting serious with ettercap lately, and the one thing that I just cannot seem to get working is the remote_browser plugin! I've serached around the web for ages, but it seems that no one has a tutorial yet for KALI LINUX. Here are some details:
I've changed the etter.conf remote_browser line to this:
I've also made all the other necessary changes to etter.conf.#the command used by the remote_browser plugin
remote_browser = "iceweasel -remote openurl(http://%host%url)"
After successfully launching the MITM attack and starting the remote_browser plugin using this command:
I open iceweasel, go to the test-victim computer (192.168.1.100) and go to a URL, google.com for example. When I come back to Ettercap, Iceweasel is still on the same home page, and I see these kinds of errors printed all over the Text interface of ettercap:ettercap -i wlan0 -Tq -M arp:remote -P remote_browser /192.168.1.1/ /192.168.1.100/
You can see that the command to open iceweasel was executed successfully, but it looks like iceweasel refused to open the URL because of some permission issues? Thinking that this was the case, I found the Iceweasel.exe file and edited the permissions to accept Read and write from all groups. But that still didn't change anything.REMOTE COMMAND: iceweasel -remote openurl(http://www.google.com/)
(iceweasel:12399): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (1000)
No protocol specified
Error: Failed to connect to X server.
suff .php
I also have tried using "firefox" in the etter.conf instead of "iceweasel," but the results are the same.
I'm able to open iceweasel from the Terminal just fine, but it seems that iceweasel refuses ettercap's remote connection. Any solutions that you can think of?