NHAS / reverse_ssh

SSH based reverse shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sh template problem

xiaoxiaoranxxx opened this issue · comments

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

commented

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

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.

commented

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