>> In this short lesson,
I'll show you how to remove Nmap from the MacOS.
We'll be using the Homebrew package manager
and a newer version of Mac OSX.
This process should work great with any version of
OSX that supports Homebrew. Let's get started.
>> Here are the learning objectives for this lesson.
In this lesson, there's really
only one objective and that is to
>> remove Nmap from a Mac.
>> If you followed along with me in the lab
on installing Nmap on a Mac,
this lesson will basically show you how
to undo what we did in that lesson.
The main focus of this lesson is the lab.
Now on to the lab.
Here are the steps that we will follow
to remove Nmap from a Mac.
This process is very similar to
>> removing Nmap from Linux.
>> After opening a terminal,
we'll basically just run two commands: an Nmap
and it's GUI Zenmap will be removed. Let's do it.
>> Welcome to the lab on uninstalling
Nmap and Zenmap from the MacOS.
First of all, I'm going to go down to the launchpad and
just show you that Zenmap is
installed and then we'll
go ahead and go straight to the terminal.
One way to get to the terminal
is by going to the launchpad,
clicking on "Other," then clicking on the "Terminal."
I'll make this bigger so you can see it.
I want to prove to you that Nmap also is installed.
We'll do a Brew search Nmap, hit ''Enter''.
You can see that there's a check mark next to
Nmap and Zenmap so you know that
>> they're both installed.
>> I'm going to clear the screen here.
The first command to uninstall Zenmap is
brew cask uninstall Zenmap,
then hit ''Enter.'' Type in your password.
This process takes just a little bit of time to remove
all the files and dependencies and services.
Zenmap is uninstalled.
I can prove that by going back to
the Launchpad and you see
where Zenmap used to be, it's no longer there.
I'm going to clear the screen again.
Now to uninstall Nmap,
simply type brew uninstall nmap
then hit "Enter" and that's it.
I'll do a brew search nmap.
Before, there was a check mark next
to both Nmap and Zenmap.
You can see here there are no check marks
so you can be reasonably sure that it's uninstalled.
I'll go ahead and try to do a Nmap scan.
There you have it. It doesn't work
so Nmap and Zenmap are both uninstalled.
>> This short lesson was about Nmap
>> removal from the MacOS.
>> It was a quick one because the process is just so easy.
Thanks so much for going through this lesson with me.
I'll talk to you in the next lesson.