WEBVTT

00:01.560 --> 00:06.210
This is the first lecture on an AMP command series.

00:06.240 --> 00:11.500
In this lecture, we will learn the very basic animal commands.

00:11.520 --> 00:20.250
I'm going to demonstrate and a map on Linux, but commands of and map are same for a Windows and Mac

00:20.280 --> 00:20.970
as well.

00:20.970 --> 00:28.950
So if you are on Linux or Mac, then you should be able to follow along without any problems.

00:28.950 --> 00:30.570
So let's get started.

00:30.570 --> 00:39.270
So open your command prompt or terminal and type and map hyphen edge hyphen, which means help.

00:39.360 --> 00:46.830
So hit enter hyphen edge displays all the available options that you can use with.

00:46.830 --> 00:55.440
And a map and map is a very advanced and advanced tool, so feel free to go through the documentation.

00:55.800 --> 01:05.520
Now, first thing that you should always do before scanning your target network is check whether it

01:05.520 --> 01:08.370
is up and running or not, right?

01:08.370 --> 01:14.280
If it is not up and running, then, you know, scanning doesn't make any sense.

01:14.430 --> 01:23.090
So type and map hyphen lowercase FS and uppercase p as means scan, p means pinger.

01:23.130 --> 01:30.600
So any map runs the ping command in the background to check the availability of host.

01:30.630 --> 01:34.650
Now specify the IP address or URL.

01:34.680 --> 01:37.260
So let me specify your URL.

01:39.900 --> 01:47.820
And the map has created this specific subdomain specifically to test the map tool.

01:47.850 --> 01:54.560
Remember, Guy is scanning a network without the permission of honor is not legal.

01:54.570 --> 01:55.150
Right?

01:55.170 --> 02:04.200
So if you don't have anything where you can practice the map, then you can use this subdomain to practice

02:04.200 --> 02:06.780
or test the and map tool.

02:06.810 --> 02:07.320
Right.

02:07.350 --> 02:08.970
Now let me hit enter.

02:09.000 --> 02:10.520
Scan is complete.

02:10.530 --> 02:15.630
Host is up and running and now we can proceed further.

02:15.750 --> 02:20.370
It has also provided some additional information as well.

02:20.400 --> 02:26.310
Right here, as you can see, this is the IP address of the host or URL.

02:26.340 --> 02:30.940
Now I'm going to copy the IP address from here on.

02:30.960 --> 02:40.500
I'm going to use this IP address instead of this domain subdomain right now type and map and write the

02:40.500 --> 02:42.780
URL or IP address.

02:43.020 --> 02:46.470
This is the default and map scan.

02:46.500 --> 02:52.350
This is the simplest possible way to use the end map.

02:52.380 --> 03:03.730
This scan is going to scan the most popular thousand ports such as HTP, ssh, ftp, smtp, adc.

03:03.750 --> 03:04.290
Right.

03:04.290 --> 03:06.060
So hit enter.

03:06.090 --> 03:16.380
It is going to take a little time because a map has to go through all the thousand ports, then determine

03:16.380 --> 03:21.240
their state whether you know they are open, closed or filtered.

03:21.270 --> 03:24.560
As you can see, the scan is complete here.

03:24.570 --> 03:33.240
987 ports are closed and remaining 13 ports are either open or filtered.

03:33.270 --> 03:34.620
We have three columns here.

03:34.620 --> 03:36.890
Port, state and service.

03:36.900 --> 03:37.450
Port.

03:37.470 --> 03:40.290
Column displays the port number.

03:40.320 --> 03:40.800
State.

03:40.800 --> 03:44.850
Column displays the state of the port and Service.

03:44.850 --> 03:49.530
Column displays the service that the port runs.

03:49.800 --> 03:56.710
There are three possible states of a port open, filtered and closed.

03:56.730 --> 04:02.640
We will discuss about all the three states in the next lecture.

04:02.670 --> 04:03.150
All right.

04:03.180 --> 04:10.140
Now, we can also scan multiple hosts with a single and a map command.

04:10.170 --> 04:12.150
All you have to do, type and map.

04:12.150 --> 04:13.890
Now specify the host.

04:14.070 --> 04:18.910
This time I'm going to specify, let's say W WW dot google dot com.

04:18.930 --> 04:20.190
Now space.

04:20.220 --> 04:27.240
Now specify the name of another host w ww w dot reddit dot com.

04:27.270 --> 04:37.110
Now hit enter this time and map is going to scan the top thousand ports of both the specified hosts.

04:37.230 --> 04:40.140
As you can see, the scan is complete.

04:40.170 --> 04:50.790
Here we have the scan result of first post google.com and then we have a result of second host, which

04:50.790 --> 04:51.860
is Reddit.

04:51.870 --> 04:56.880
And in this way you can scan as many hosts as you like.

04:56.910 --> 05:01.470
All you have to do separate your hosts with a space.
