cobbr / Elite

Elite is the client-side component of the Covenant project. Covenant is a .NET command and control framework that aims to highlight the attack surface of .NET, make the use of offensive .NET tradecraft easier, and serve as a collaborative command and control platform for red teamers.
https://cobbr.io/Covenant.html
GNU General Public License v3.0
117 stars 18 forks source link

add ConnectPort #2

Open theguly opened 5 years ago

theguly commented 5 years ago

another feature req: we have BindAddress and ConnectAddress. could it be possible to also have BindPort and ConnectPort? i'm thinking about distributed/proxied environment.

cobbr commented 5 years ago

I agree, it does make sense to have a ConnectPort.

My only concern is that it makes it more confusing, and a little more annoying for users that won't understand why they have to set both BindPort and ConnectPort. I'll try to think of a UX solution here, any suggestions are appreciated :)

theguly commented 5 years ago

well, i wouldn't reinvent the wheel here because metasploit has this conf since ages and nobody never complained :) ConnectAddress and ConnectPort, used by the Launcher/stager, HAVE to be specified. you also CAN specify BindAddress and BindPort, which will be used by the Listener itself, if different.

sounds good?

cobbr commented 5 years ago

I like this idea @theguly! Apologies, I don't have a lot of metasploit experience. I'll try to get this integrated soon-ish.