This is the first lecture on an AMP command series.
In this lecture, we will learn the very basic animal commands.
I'm going to demonstrate and a map on Linux, but commands of and map are same for a Windows and Mac
as well.
So if you are on Linux or Mac, then you should be able to follow along without any problems.
So let's get started.
So open your command prompt or terminal and type and map hyphen edge hyphen, which means help.
So hit enter hyphen edge displays all the available options that you can use with.
And a map and map is a very advanced and advanced tool, so feel free to go through the documentation.
Now, first thing that you should always do before scanning your target network is check whether it
is up and running or not, right?
If it is not up and running, then, you know, scanning doesn't make any sense.
So type and map hyphen lowercase FS and uppercase p as means scan, p means pinger.
So any map runs the ping command in the background to check the availability of host.
Now specify the IP address or URL.
So let me specify your URL.
And the map has created this specific subdomain specifically to test the map tool.
Remember, Guy is scanning a network without the permission of honor is not legal.
Right?
So if you don't have anything where you can practice the map, then you can use this subdomain to practice
or test the and map tool.
Right.
Now let me hit enter.
Scan is complete.
Host is up and running and now we can proceed further.
It has also provided some additional information as well.
Right here, as you can see, this is the IP address of the host or URL.
Now I'm going to copy the IP address from here on.
I'm going to use this IP address instead of this domain subdomain right now type and map and write the
URL or IP address.
This is the default and map scan.
This is the simplest possible way to use the end map.
This scan is going to scan the most popular thousand ports such as HTP, ssh, ftp, smtp, adc.
Right.
So hit enter.
It is going to take a little time because a map has to go through all the thousand ports, then determine
their state whether you know they are open, closed or filtered.
As you can see, the scan is complete here.
987 ports are closed and remaining 13 ports are either open or filtered.
We have three columns here.
Port, state and service.
Port.
Column displays the port number.
State.
Column displays the state of the port and Service.
Column displays the service that the port runs.
There are three possible states of a port open, filtered and closed.
We will discuss about all the three states in the next lecture.
All right.
Now, we can also scan multiple hosts with a single and a map command.
All you have to do, type and map.
Now specify the host.
This time I'm going to specify, let's say W WW dot google dot com.
Now space.
Now specify the name of another host w ww w dot reddit dot com.
Now hit enter this time and map is going to scan the top thousand ports of both the specified hosts.
As you can see, the scan is complete.
Here we have the scan result of first post google.com and then we have a result of second host, which
is Reddit.
And in this way you can scan as many hosts as you like.
All you have to do separate your hosts with a space.