Netcat

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

  • Votes
  • Date
  • Date décroissante
  1. Contributeur
    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.