This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
linux:debug_connections [2023/02/25 18:09] manu |
linux:debug_connections [2023/02/25 18:18] (current) manu |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| </cli> | </cli> | ||
| + | Scan on specific ports: | ||
| + | # nmap -sV -p 22,443 192.168.0.0/24 | ||
| + | |||
| + | Which port is open | ||
| + | <cli prompt='#'> | ||
| + | manu-opensuse:/ # nmap -sT -p- 192.168.x.xxx | ||
| + | Starting Nmap 7.92 ( https://nmap.org ) at 2023-02-25 18:16 CET | ||
| + | Nmap scan report for 192.168.x.xxx | ||
| + | Host is up (0.0018s latency). | ||
| + | Not shown: 65520 closed tcp ports (conn-refused) | ||
| + | PORT STATE SERVICE | ||
| + | 53/tcp open domain | ||
| + | 80/tcp open http | ||
| + | 443/tcp open https | ||
| + | ... | ||
| + | MAC Address: 2x:xx:xx (aaaaa SAS) | ||
| + | |||
| + | Nmap done: 1 IP address (1 host up) scanned in 8.34 seconds | ||
| + | </cli> | ||
| <cli prompt='#'> | <cli prompt='#'> | ||