title: Netcat reverse shell
body: <p>I am trying to create a reverse shell for two computers on my network, I used netcat a few years ago, I remember I did something like to listen for incoming connections:</p>
  
  <pre><code>netcat -v -l -p &lt;PORT&gt;
  </code></pre>
  
  <p>But now when I try that it doesn't work, I just get the netcat usage:</p>
  
  <pre><code>$ netcat -v -l -p 12345
  usage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port]
        [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol]
        [-x proxy_address[:port]] [hostname] [port[s]]
  </code></pre>
  
  <p>Did something changed in the latest netcat releases?</p>
  
  <p>I am using ubuntu 10.04</p>