What is “p0f” Package?

Versatile passive OS fingerprinting, masquerade detection tool
For more details: http://lcamtuf.coredump.cx/p0f3/

Installation

  • Open Terminal by pressing command+space then type terminal and hit Enter key.
  • Install homebrew first.
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  • Install p0f.
    brew install p0f

Now, use p0f!