NHAS/reverse_ssh

Sh template problem

xiaoxiaoranxxx opened this issue · 5 comments

Sh template problem

image
Why don't I have the exact address of http?
The command to start is
./server --webserver --external_address 47.92.. :80

NHAS commented

That is a very good question, I can replicate this behavior

NHAS commented

Long story short, because the external_address had no port it hit an edge case which I've now removed by using the net.SplitHostPort function in the golang stdlib

Thank you for your reply. It turns out that my external_address did not add a port.

NHAS commented

Its also fixed in the main branch/version 2.5.1 so it'll just default to port 80 if non-was specified