Netcat

Fermé
nathan - 4 nov. 2010 à 21:27
dubcek Messages postés 18718 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 22 mars 2024 - 5 nov. 2010 à 08:45
Bonsoir,

Mon probléme et que je voudrais placer netcat sous linux en ecoute sur le port 80.
J'ai donc tapé dans mon terminal :
nc -l -p 80

ou encore
netcat -l -p 80

Mais cela me renvois :
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]]

Et me rend la main... :s


1 réponse

dubcek Messages postés 18718 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 22 mars 2024 5 615
5 nov. 2010 à 08:45
hello
man nc
-p source_port
Specifies the source port nc should use........... It is an error to use this option in conjunction with the -l option.
0