Networking

- Check if a host is up and scan for open ports, also skip host
discovery.
This commit is contained in:
bonnie 2020-07-18 23:02:20 +08:00
parent 0aef9e7537
commit 61d2422c53

View File

@ -1820,6 +1820,23 @@ ulimit -u
nmap -sT -O localhost
#notice that some companies might not like you using nmap
```
##### Check if a host is up and scan for open ports, also skip host discovery.
#skips checking if the host is alive which may sometimes cause a false positive and stop the scan.
$ nmap google.com -Pn
# Example output:
# Starting Nmap 7.01 ( https://nmap.org ) at 2020-07-18 22:59 CST
# Nmap scan report for google.com (172.217.24.14)
# Host is up (0.013s latency).
# Other addresses for google.com (not scanned): 2404:6800:4008:802::200e
# rDNS record for 172.217.24.14: tsa01s07-in-f14.1e100.net
# Not shown: 998 filtered ports
# PORT STATE SERVICE
# 80/tcp open http
# 443/tcp open https
#
# Nmap done: 1 IP address (1 host up) scanned in 3.99 seconds
##### Print out number of cores/ processors
```bash