udp port check 썸네일형 리스트형 [명령어] nmap 명령어 nmap 명령어 nmap 버전 $ nmap -V Nmap version 6.40 ( http://nmap.org ) Platform: x86_64-redhat-linux-gnu Compiled with: nmap-liblua-5.2.2 openssl-1.0.2k libpcre-8.32 libpcap-1.5.3 nmap-libdnet-1.12 ipv6 Compiled without: Available nsock engines: epoll poll select nmap 사용법 Usage: nmap [Scan Type(s)] [Options] {target specification} TCP 포트 오픈 여부 확인 - SYN 스탤스 스캔(-sS) $ nmap -sS 8.8.8.8 Starting Nmap 6.40.. 더보기 [명령어] nc 명령어 nc 명령어 nc 패키지 설치 yum install -y nc (or yum install nmap-ncat) $ yum install -y nc nc 포트 오픈 확인 nc -z -v [hostname/IP address] [port number] ###접속 성공(TCP 53 포트) $ nc -zvw10 8.8.8.8 53 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to 8.8.8.8:53. Ncat: 0 bytes sent, 0 bytes received in 0.05 seconds. ###접속 성공(UDP 53 포트) $ nc -zvw10 8.8.8.8 -u 53 Ncat: Version 7.50 ( https://nmap.org/nc.. 더보기 이전 1 다음