emptymonkey / revsh

A reverse shell with terminal support, data tunneling, and advanced pivoting capabilities.
MIT License
458 stars 90 forks source link

config.h doesn't seem to support port numbers with 5 characters #7

Closed GrahamMThomas closed 7 years ago

GrahamMThomas commented 7 years ago

Here is my config.h

screen shot 2017-04-25 at 3 08 21 pm

However, when I try to launch the controller using the defaults, it appears to drop the last number.

screen shot 2017-04-25 at 3 11 22 pm

A quick double check with nmap confirms that it's not just a printing issue but also a functionality issue.

screen shot 2017-04-25 at 3 11 39 pm

Throwing away the defaults, I specify the arguments manually

screen shot 2017-04-25 at 3 12 00 pm

Then the port appears open.

screen shot 2017-04-25 at 3 12 27 pm

Assuming it's a parsing issue.

emptymonkey commented 7 years ago

Fixed in devel branch. ("git checkout devel"). Will leave this issue open until I push to master. (I'm going to address some of these other open issues then do more testing before push to master.)