OVH Cloud OVH Cloud

nmap ou telnet, qui a raison?

3 réponses
Avatar
Jean-Marc Vanel
C'est sans doute telnet qui a raison...
Mais je n'y comprends plus rien.
nmap ne voit pas un port qui semble bel et bien ouvert.
Je suis allé prendre la dernière version de nmap.
J'ai une connection ADSL et Linux Fedora.

$ ip=mon_adresse_ip_sur_internet_vue_avec_ifconfig__ppp0_inet_adr
$ nmap $ip

Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-04-13 09:03 CEST
Interesting ports on ****censuré*****.fr (XXX.XXX.XXX.XXX):
(The 1653 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
5432/tcp open postgres
8080/tcp open http-proxy
10000/tcp open snet-sensor-mgmt

Nmap run completed -- 1 IP address (1 host up) scanned in 1.058 seconds
$ telnet $ip 8088
Trying XXX.XXX.XXX.XXX...
Connected to ****censuré*****.fr (XXX.XXX.XXX.XXX).
Escape character is '^]'.
ghhhh
Connection closed by foreign host.

3 réponses

Avatar
Jean-Marc Vanel
"Jean-Marc Vanel" wrote in message
news:c5g797$1re$

(The 1653 ports scanned but not shown below are in state: closed)



Nmap n'a scanné que 1653 ports. Es tu sur que le port 8088 a bien été
scanné ?


Merci bibi. Je faisais trop confiance à nmapfe. L'option Scan/Scanned ports
était mise à "default". Il fallait mettre à "all".

Ca prend nettement + de temps, mais ça vaut la peine, j'ai des ports que je ne
connais ni d'Eve ni d'Adam. Je peux maintenant enquêter avec lsof.

Interesting ports on protea (127.0.0.1):
(The 65524 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 3.6.1p2 (protocol 1.99)
80/tcp open http Apache httpd 2.0.47 ((Fedora))
443/tcp open ssl OpenSSL
631/tcp open ipp CUPS 1.1
1099/tcp open unknown
5432/tcp open postgresql PostgreSQL
8080/tcp open http Jetty httpd 4.1.4 (Linux 2.4.22-1.2115.nptl i386)
8088/tcp open unknown
10000/tcp open http Webmin httpd
16010/tcp open unknown
33766/tcp open unknown


Avatar
T0t0
"Jean-Marc Vanel" wrote in message
news:c5g797$1re$
(The 1653 ports scanned but not shown below are in state: closed)


Nmap n'a scanné que 1653 ports. Es tu sur que le port 8088 a bien été
scanné ?

$ telnet $ip 8088
Trying XXX.XXX.XXX.XXX...
Connected to ****censuré*****.fr (XXX.XXX.XXX.XXX).
Escape character is '^]'.


Effectivement, ca a l'air de marcher.


--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

Avatar
Nicolay DIMITROV
Par defaut, nmap scanne une liste predefinie des ports

Si on veut scanner tous les ports, c'est nmap -p1-65535 $ip

Pour un port precis (ex. 8088) c'est nmap -p8088 $ip

Visiblement 8088 ne fait pas partie de la liste par defaut qu'utilise nmap


C'est sans doute telnet qui a raison...
Mais je n'y comprends plus rien.
nmap ne voit pas un port qui semble bel et bien ouvert.
Je suis allé prendre la dernière version de nmap.
J'ai une connection ADSL et Linux Fedora.

$ ip=mon_adresse_ip_sur_internet_vue_avec_ifconfig__ppp0_inet_adr
$ nmap $ip

Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-04-13 09:03
CEST
Interesting ports on ****censuré*****.fr (XXX.XXX.XXX.XXX):
(The 1653 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
5432/tcp open postgres
8080/tcp open http-proxy
10000/tcp open snet-sensor-mgmt

Nmap run completed -- 1 IP address (1 host up) scanned in 1.058 seconds
$ telnet $ip 8088
Trying XXX.XXX.XXX.XXX...
Connected to ****censuré*****.fr (XXX.XXX.XXX.XXX).
Escape character is '^]'.
ghhhh
Connection closed by foreign host.