Le 11/06/2011 00:20, jdd a écrit :
Le 10/06/2011 22:49, Pascal Hambourg a écrit :
nmap -sT --open -n -p 9100 192.168.0.1-254 -oG - | grep Ports:

la Hp c'est 192.168.0.5

réduit à ca:

nmap  -p 9100 192.168.0.*


ca fait le boulot!

Starting Nmap 5.21 ( http://nmap.org ) at 2011-06-11 08:43 CEST
Nmap scan report for 192.168.0.5
Host is up (0.0047s latency).
PORT     STATE SERVICE
9100/tcp open  jetdirect

Nmap scan report for 192.168.0.10
Host is up (0.000056s latency).
PORT     STATE  SERVICE
9100/tcp closed jetdirect

Nmap scan report for 192.168.0.254
Host is up (0.0039s latency).
PORT     STATE SERVICE
9100/tcp open  jetdirect

Nmap done: 256 IP addresses (3 hosts up) scanned in 3.00 seconds



--
Jean-Daniel Dodin

-----------------------------------------------------------------
Les listes de diffusion du CULTe - Pour une informatique libre
http://www.CULTe.org/listes/
Pour se desabonner:
mailto:[email protected]?subject=Cliquez_sur_ENVOYER

Répondre à