From e17743e9b929aedcbc32ecf628e81341e7089c5b Mon Sep 17 00:00:00 2001 From: bonnie Date: Sun, 19 Jul 2020 22:16:45 +0800 Subject: [PATCH] edit - Which ports are listening for TCP connections from the network --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e1ed7e..ee28af5 100644 --- a/README.md +++ b/README.md @@ -1853,8 +1853,11 @@ ulimit -u ##### Which ports are listening for TCP connections from the network ```bash -nmap -sT -O localhost #notice that some companies might not like you using nmap +nmap -sT -O localhost + +# check port 0-65535 +nmap -p0-65535 localhost ``` ##### 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.