Elite icon indicating copy to clipboard operation
Elite copied to clipboard

add ConnectPort

Open theguly opened this issue 6 years ago • 3 comments

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.

theguly avatar Feb 12 '19 10:02 theguly

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 :)

cobbr avatar Feb 14 '19 23:02 cobbr

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?

theguly avatar Feb 15 '19 11:02 theguly

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

cobbr avatar Mar 11 '19 20:03 cobbr