Nmap:Penggunaan: Difference between revisions
No edit summary |
|||
| Line 58: | Line 58: | ||
Replace “20” with the desired number. Output example: | Replace “20” with the desired number. Output example: | ||
kangtain@kangtain-comp:~$ nmap --top-ports 20 192.168.100.91 | |||
Starting Nmap | Starting Nmap 7.80 ( https://nmap.org ) at 2022-07-19 21:51 WIB | ||
Nmap scan report for | Nmap scan report for srv20.domain.com (192.168.100.91) | ||
Host is up (0. | Host is up (0.089s latency). | ||
PORT STATE SERVICE | PORT STATE SERVICE | ||
21/tcp | 21/tcp filtered ftp | ||
22/tcp | 22/tcp filtered ssh | ||
23/tcp | 23/tcp filtered telnet | ||
25/tcp | 25/tcp filtered smtp | ||
53/tcp | 53/tcp filtered domain | ||
80/tcp | 80/tcp open http | ||
110/tcp | 110/tcp filtered pop3 | ||
111/tcp | 111/tcp filtered rpcbind | ||
135/tcp | 135/tcp filtered msrpc | ||
139/tcp | 139/tcp filtered netbios-ssn | ||
143/tcp | 143/tcp filtered imap | ||
443/tcp | 443/tcp open https | ||
445/tcp | 445/tcp filtered microsoft-ds | ||
993/tcp | 993/tcp filtered imaps | ||
995/tcp | 995/tcp filtered pop3s | ||
1723/tcp | 1723/tcp filtered pptp | ||
3306/tcp | 3306/tcp filtered mysql | ||
3389/tcp | 3389/tcp filtered ms-wbt-server | ||
5900/tcp | 5900/tcp filtered vnc | ||
8080/tcp | 8080/tcp filtered http-proxy | ||
Nmap done: 1 IP address (1 host up) scanned in 3.30 seconds | |||
===7. Scan hosts and IP addresses reading from a text file=== | ===7. Scan hosts and IP addresses reading from a text file=== | ||