Closed m1ndcr4ck closed 2 years ago
sudo rlwrap nc -nlvp <port> <shell_cmd>
... starts a server - why would you want to use rlwrap there?? - it won't do anything remotely useful (or even observable), as the server doesn't expect input from your terminal.
It is on the client side, i.e. when connecting with nc localhost <port>
where rlwrap
can be useful:
rlwrap -p -S"shell > " nc localhost <port>
Closing as rlwrap
cannot possibly be the cause of your problem.
I've updated Kali Linux recently to Version "2022.2" so I guess some update is causing this bug:
Using the following command with netcat
sudo rlwrap nc -nlvp 443
without extra flags and I got a reserve shell connection successfully but I'm experiencing that when trying to send a command I have to press enter twice and the command show as illustrated in the image attached with a^M
character