Ettercap / ettercap

Ettercap Project
http://www.ettercap-project.org
GNU General Public License v2.0
2.36k stars 492 forks source link

arp poisoning needs a non empty hosts list windows #920

Open stefan9999991 opened 5 years ago

stefan9999991 commented 5 years ago

I know this quistion has been awsnered before, but that solution doesnt work for me because i'm on windows.

When im in the graphical version of ettercap and I select unifief sniffing, set target 1 to the router IP and the second one to my phone's IP and go to Mitm and select arp posioning, I get the following error:

arp poisoning needs a non empty hosts list

I dont know if windows is officialy supported, but still any help at all would really be appreciated

koeppea commented 5 years ago

you're right. Windows isn't yet a supported platform for ettercap. However, if you could provide the debug log it might help to get one little step close towards it. However I wouldn't raise too much expectation due to the limitations of this OS.

sgeto commented 5 years ago

if you're able to reach/ping both your gateway and your iPhone from your host machine and have set up your targets properly but are still unable to arp poison them, then it may be a problem with ettercap and/or windows.

You need to double check that and provide more information regarding your topology. I use it on windows and it works for me.

gvanem commented 5 years ago

@sgeto Hi there Ali! Wazz-up in Yemen?

@stefan9999991: Just an idea:

But since I'm clueless as to what triggers the arp poisoning needs a non empty hosts list message, this could be a guess and a long-shot. Some time since I've been using/hacking on Ettercap.

When im in the graphical version of ...

I assume the text-interface (ettercap --text ...) has the same issue?

Edit: Duh me! I'm at sleep.

stefan9999991 commented 5 years ago

Sorry I havent wroten back. @sgeto I dont know what happend but now when I start the graphical version of ettercap, en select unified sniffing, it just crashes EDIT I just turned of internet protocol Version 6 and used found the right Network interface and It seems to work. Im not able to ping my phone, but thats just due to bad wifi. Im going to test it on a different network in a bit and @gvanem I dont know how to use the text-interface. I just watched a tutorial about the graphical version on youtube. You start the graphical version by ettercap.exe -G EDITHow do enable debug in --text mode? if I do ettercap --text it just says ettercap NG-0.7.3 copyright 2001-2004 ALoR & NaGA and doesnt do anything else

koeppea commented 5 years ago

Ettercap need to be rebuilt with CMAKE_BUILD_TYPE set to "Debug". However, still have to repeat myself that Windows isn't yet still an unsupported platform.

stefan9999991 commented 5 years ago

@koeppea I know windows isn't a supported platform yet, but there are some people here that got it to work. So I am willing to try it to.

Also, where do I need to set CMAKE_BUILD_TYPE to Debug? In the system variables, in some file? Please be more spesific. And if I set it to Debug, what does it change? Do I need to post here something that it outputs and if so, where do I find this output? Please be more spesific

koeppea commented 5 years ago

It is within the call to cmake. Using the -D flag to define CMake variables.

However, I’m not aware of how to build it on Windows. Maybe @sgeto may be able to help. He has some experience in building on Windows.

koeppea commented 5 years ago

@stefan9999991 any chance to rebuild in Debug mode?