From 61d2422c536cafc9743b3484fa12e3a792dc356b Mon Sep 17 00:00:00 2001 From: bonnie Date: Sat, 18 Jul 2020 23:02:20 +0800 Subject: [PATCH] Networking - Check if a host is up and scan for open ports, also skip host discovery. --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 6e8faf6..4f96e75 100644 --- a/README.md +++ b/README.md @@ -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