I am learning about Cybersecurity using TryHackMe and I have a couple of questions regarding Nmap:
-
What does
-p-mean in Nmap? For example when doing this:nmap -p- 10.10.57.197 --open -
What is the purpose of using it together with
--open?
I just get different result when using and not using -p- and --open and I couldn't find anything on the internet (if you can share some nice docs I would be really grateful!).
Thanks!

Jaydeep PatilRank #205 · 11.7K reputationPosted Jul 16, 2022, 1:00 AM EDT