Kevin-Robertson / Inveigh

.NET IPv4/IPv6 machine-in-the-middle tool for penetration testers
BSD 3-Clause "New" or "Revised" License
2.44k stars 433 forks source link

Unhandled Exception: System.ArgumentException: Invalid Parameter "LISTENERIP" #36

Closed sp00ks-git closed 2 years ago

sp00ks-git commented 2 years ago

I want to set a specific IP to listen on. After building Inveigh, I notice that the "-ListenerIP" option doesn't seem to be recognised.

I read in the readme:

" -ListenerIP Default=Any: IP address for all listeners."

C:\ .\Inveigh.exe -ListenerIP "192.168.1.1"

Unhandled Exception: System.ArgumentException: Invalid Parameter Parameter name: -LISTENERIP at Inveigh.Program.Main(String[] args)

Kevin-Robertson commented 2 years ago

I'm not able to recreate this one. Does it recognise other arguments for you?

sp00ks-git commented 2 years ago

Yes some did some didnt. Havent got the box up in front of me but will check and confirm. Where is "ListenerIP" reference in the code, i couldn't see it?

Kevin-Robertson commented 2 years ago

It's in Program.cs. Maybe you are working with an older version? ListenerIP and others were added in 2.0.

sp00ks-git commented 2 years ago

Ah yes, looks like I was using an older version - thanks for confirming.