아래 명령어를 이용하면 서버에 접속하지 않아도 어떠한 데몬들을 사용 하는지 버전은 어떻게 되는지 확인 할 수 있다.
heart@bleed-desktop ~ $ nmap -sV -T4 -F --version-light xxx.xxx.xxx.xxx (ip주소))
본인의 서버의 ip로 해당 명령어를 날린 결과 값,
시간이 살짝 오래 걸리긴 한다.
Starting Nmap 6.40 ( http://nmap.org ) at 2016-02-22 16:58 KST
Nmap scan report for sosnote.com (xxx.xxx.74.210)
Host is up (0.45s latency).
Not shown: 89 filtered ports
PORT STATE SERVICE VERSION
21/tcp open ftp vsftpd 2.2.2
22/tcp open ssh OpenSSH 5.3 (protocol 2.0)
25/tcp open smtp Sendmail 8.14.4/8.14.4
53/tcp closed domain
80/tcp open http Apache httpd 2.2.23 ((Unix) mod_ssl/2.2.23 OpenSSL/1.0.1e-fips DAV/2 PHP/5.3.21)
110/tcp closed pop3
143/tcp closed imap
3000/tcp closed ppp
3306/tcp open mysql MySQL (unauthorized)
8080/tcp closed http-proxy
10000/tcp closed snet-sensor-mgmt
Service Info: Host: ns.onepice.com; OS: Unix
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 13.64 seconds
솔직히
nmap -sV <<---- 이 옵션값 하나로도 알 수 있다.
V 옵션이 verbose 모드이기 때문에 정보값을 출력 해 준다
'Linux > 자주쓰는 명령어 정리' 카테고리의 다른 글
iptables 특정 ip 허용 (0) | 2016.07.08 |
---|---|
[CentOs] arp명령어와 arping 명령어를 이용하여 MAC 주소 확인 하기 (0) | 2016.01.26 |
iptables//-save,-restore (0) | 2016.01.21 |
심볼릭 링크 ln -s (0) | 2016.01.20 |
[CentOS 6.x]아파치 웹로그파일 방문자수 카운트 (0) | 2015.12.13 |