This shows you the differences between two versions of the page.
|
network:scan_nmap [2021/01/01 21:25] 127.0.0.1 external edit |
network:scan_nmap [2023/08/29 20:36] (current) manu |
||
|---|---|---|---|
| Line 19: | Line 19: | ||
| Nmap done: 1 IP address (1 host up) scanned in 1.70 seconds | Nmap done: 1 IP address (1 host up) scanned in 1.70 seconds | ||
| + | </cli> | ||
| + | |||
| + | Scan servers listen on port 22 | ||
| + | <cli prompt='#'> | ||
| + | root@ubuntu:~# nmap -Pn -p22 -n 172.16.120.0/24 --open -oG - | awk '/22\/open/{ print $2 }' | ||
| + | 172.16.120.185 | ||
| + | 172.16.120.188 | ||
| + | 172.16.120.161 | ||
| </cli> | </cli> | ||