0

I put a reverse shell on a machine in my lab enviornment and it seems to just hang after there is a connection in netcat - I'm not sure why this is.

I've tried different ports but no luck. See screenshot below - any ideas are much appreciated

using port 31337

using port 9009

schroeder
  • 129,372
  • 55
  • 299
  • 340
t0o0tz
  • 1
  • 2
  • the reverse shell exits after establishing a connection.what are you using to establish the connection? – yeah_well Mar 21 '19 at 13:37

2 Answers2

0

I suggest that you try using either ncat or netcat instead of nc. Plus Ncat support -e function for executing, and i do not think that nc does in the current version.

0

The issue was my choice of shell from msfvenom - I was using windows/shell/reverse_tcp but that requires a meterpreter connection , I wanted to use netcat so I needed to use windows/shell_reverse_tcp

t0o0tz
  • 1
  • 2