Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL : "arp:remote" and "-z" #1239

Open
Raizo62 opened this issue Oct 8, 2023 · 3 comments
Open

FATAL : "arp:remote" and "-z" #1239

Raizo62 opened this issue Oct 8, 2023 · 3 comments

Comments

@Raizo62
Copy link

Raizo62 commented Oct 8, 2023

Hi

Is there a technical reason that ettercap doesn't want both the "remote" arp option and the "-z" option ?

  • ettercap accepts this line ("remote") : ettercap -Tq -M arp:remote /10.0.0.1// /10.0.0.2//
  • ettercap accepts this line ("-z") : ettercap -z -Tq -M arp: /10.0.0.1// /10.0.0.2//
  • ettercap refuses this line ("remote" + "-z") : ettercap -z -Tq -M arp:remote /10.0.0.1// /10.0.0.2// :
    FATAL: ARP poisoning needs a non empty hosts list.

In the man page, I don't see any explanation about this

@LocutusOfBorg
Copy link
Contributor

if (EC_GBL_OPTIONS->silent)

Indeed, the list is not created if we are in silent mode

Do you want to comment the two lines above and try again?
If it works, maybe we can consider uncommenting them...

@Raizo62
Copy link
Author

Raizo62 commented Oct 10, 2023

With the comment, ettercap stops and displays :

2 hosts added to the hosts list...

FATAL: ARP poisoning process cannot start.

Should we change the test here ?

/* create the list used later to poison the targets */

   /* create the list used later to poison the targets */
   if (EC_GBL_OPTIONS->silent && !EC_GBL_OPTIONS->load_hosts)
      ret = create_silent_list();
   else
      ret = create_list();

@LocutusOfBorg
Copy link
Contributor

I don't know, maybe the create_silent_list is not working... please try to debug it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants