WEBVTT

00:00.800 --> 00:03.160
Okay, now we have the result like this.

00:03.160 --> 00:08.480
As you see, we have some information right here that is not, I think, necessary to see.

00:08.800 --> 00:10.840
I want to see only this part.

00:10.880 --> 00:13.520
And then we can change it to rows and columns.

00:13.560 --> 00:16.640
Like I want to see the IPS here.

00:16.640 --> 00:22.280
And then I want to see for example, the Mac addresses here and down here.

00:22.320 --> 00:25.200
Let's go and see that how we can do that.

00:25.240 --> 00:25.880
Okay.

00:25.920 --> 00:34.680
So here in escape dot SRP we have another option that is called I think verbose.

00:34.720 --> 00:35.560
Okay.

00:35.600 --> 00:40.480
So verbose is going to be equal to false.

00:40.680 --> 00:41.920
Now let's save this.

00:41.920 --> 00:46.400
And again if I continue executing this.

00:48.840 --> 00:52.120
You will see no more details here.

00:52.160 --> 00:52.640
Okay.

00:53.480 --> 00:55.840
And that is removing those details.

00:56.640 --> 00:58.800
And perfect okay.

00:58.840 --> 01:01.680
So here we need to print a header okay.

01:01.720 --> 01:03.750
Like IP it and then Mac address.

01:04.110 --> 01:08.110
So if you want to do that, you need to print that out of the loop.

01:08.150 --> 01:08.590
Okay.

01:09.070 --> 01:13.270
So here I'm going to use the print statement again.

01:14.910 --> 01:19.310
Here let's use IP and then use for example.

01:21.350 --> 01:24.070
Backslash t means tab okay.

01:24.110 --> 01:26.710
For example we are hitting three tab.

01:26.950 --> 01:31.150
And then let's use Mac address.

01:32.870 --> 01:33.670
Okay.

01:33.670 --> 01:36.270
And after that go to new line.

01:36.270 --> 01:40.630
If you want to go to new line you can use a new print statement.

01:40.630 --> 01:42.790
Or you can use backslash n.

01:43.310 --> 01:46.670
And in the new line I want to print something like this.

01:47.190 --> 01:50.670
Now let's save this and come back here.

01:51.350 --> 01:53.550
Really execute this and let's see.

01:54.350 --> 01:55.350
Okay.

01:55.390 --> 01:59.990
As you see here we have IP and then we have some tabs here.

02:00.430 --> 02:10.410
And then we have these dots in the new line Okay, now, now the thing I want is to print the IP down

02:10.410 --> 02:14.930
here and then print the Mac address under the Mac addresses.

02:15.370 --> 02:17.090
So is that possible?

02:17.130 --> 02:19.090
Of course it is possible.

02:19.090 --> 02:24.010
And I want to use only one end statement.

02:26.610 --> 02:27.330
Okay.

02:27.330 --> 02:31.650
First I want to concatenate this with at least two tab.

02:31.690 --> 02:32.050
Okay.

02:32.090 --> 02:37.450
So use plus here and then two backslash t.

02:37.450 --> 02:42.490
So now we have uh for one of this tab we have the IP.

02:42.490 --> 02:44.250
And then I want to.

02:46.410 --> 02:47.610
Add this part.

02:49.210 --> 02:54.330
And then let's use concatenation again and then paste it here.

02:56.770 --> 03:00.050
And we don't need this two line here.

03:00.090 --> 03:01.050
Let's remove that.

03:01.090 --> 03:01.450
Okay.

03:01.450 --> 03:05.530
Let's save it and move to the terminal.

03:05.790 --> 03:06.230
list.

03:06.550 --> 03:07.270
Hit enter.

03:10.070 --> 03:10.470
Okay.

03:11.110 --> 03:14.350
Now you see, we have IP which is IPS here.

03:14.350 --> 03:18.550
And then we have the Mac address, which is the Mac address down here.

03:18.590 --> 03:18.990
Okay.

03:19.510 --> 03:20.670
So perfect.

03:20.950 --> 03:29.510
Now you just created your program that is scanning the network and finding the all clients that is connected

03:29.510 --> 03:30.830
to the same network.

03:31.870 --> 03:32.670
Okay.

03:32.710 --> 03:39.550
It is finding its IP address and then the Mac address that it belongs to this IP address.

03:39.950 --> 03:40.390
Okay.

03:42.510 --> 03:43.870
So perfect.

03:44.270 --> 03:47.350
And I think this program is completed.

03:47.470 --> 03:49.270
So let's go and see.

03:50.430 --> 03:51.630
Let me see the code.

03:53.790 --> 03:54.270
Okay.

03:55.790 --> 03:59.470
We did analysis that we did printed the result.

03:59.470 --> 04:02.550
And I think the algorithm is completed.

04:02.990 --> 04:03.390
Okay.

04:03.870 --> 04:08.270
So let's go and see if we can do something more in the next lecture.
