WEBVTT

00:01.240 --> 00:03.880
Okay, now we created this two method here.

00:03.880 --> 00:06.000
One of them is checking for link.

00:06.000 --> 00:08.880
One of them is checking on a form.

00:08.880 --> 00:15.880
If this both are vulnerable then I'm going to collapse them.

00:15.880 --> 00:18.000
And now I don't care about them how they work.

00:18.000 --> 00:19.600
We tested them and it was working.

00:19.600 --> 00:20.560
Okay.

00:20.560 --> 00:27.480
Now it is time to come back to our scanner method and try to complete this these two method here.

00:27.520 --> 00:28.360
Okay.

00:28.400 --> 00:32.720
So the first one is checking if a form is vulnerable.

00:32.720 --> 00:35.760
Then we will be calling this method okay.

00:36.640 --> 00:39.120
So in here I'm going to create a variable.

00:39.760 --> 00:41.800
And that is going to be is.

00:43.880 --> 00:45.280
A vulnerable.

00:48.200 --> 00:59.080
To access it is going to be equal to self dot test on a form okay.

00:59.400 --> 01:06.580
We are checking in a forum and here I'm going to give the form and also I am going to give the link

01:06.620 --> 01:08.420
as URL right now.

01:09.340 --> 01:13.540
So now I have this stored into this variable.

01:13.540 --> 01:15.580
And here I'm going to check this.

01:15.940 --> 01:19.220
If is this.

01:19.260 --> 01:24.180
That means if it is true then I'm going to print something here.

01:24.180 --> 01:28.820
And that is going to be go to New line okay.

01:29.700 --> 01:34.700
And here let's add something like this.

01:36.180 --> 01:41.380
So it is it became more clear for us so we could understand that okay.

01:41.420 --> 01:51.580
And then I'm going to tell X discovered in class in a link okay.

01:53.420 --> 01:54.980
Then I will add the link.

01:55.380 --> 01:58.100
And you know that link is I think a string.

01:58.100 --> 02:03.530
So string with string it is able to be concatenated and in the following.

02:06.130 --> 02:08.810
In the following forms.

02:09.930 --> 02:10.250
So.

02:12.250 --> 02:15.650
And finally I need to print the form two.

02:16.210 --> 02:23.450
So it is about how we are covering the form and also in links we need to.

02:25.810 --> 02:28.730
Create the same thing here okay.

02:29.730 --> 02:36.810
And also let me add some backslash n here to go to new line okay.

02:38.250 --> 02:38.970
And then.

02:41.370 --> 02:43.650
Uh we have this variable.

02:43.650 --> 02:48.210
So I'm going to copy this and then paste it here.

02:50.210 --> 02:55.890
It is going to be equal to self dot add.

02:55.930 --> 03:07.070
Test There's excesses in link, and you know that this time it is going to ask for a link, not a farm.

03:07.110 --> 03:08.630
Okay, just a link.

03:08.630 --> 03:11.070
So in here.

03:13.150 --> 03:19.630
Again I'm going to use an if statement if it is vulnerable okay.

03:20.750 --> 03:24.030
To access in here I can print.

03:26.590 --> 03:28.270
Print the same thing here.

03:33.830 --> 03:34.990
Is covered.

03:37.830 --> 03:39.350
Uh in.

03:41.750 --> 03:43.070
This link okay.

03:43.830 --> 03:44.870
And also.

03:47.990 --> 03:55.430
In the do we have in there I think we do need to add any, any extra thing.

03:55.750 --> 04:00.650
So we just concatenate a link with this fixed that is here.

04:00.690 --> 04:03.890
Okay, so I use Ctrl S to save this.

04:03.890 --> 04:05.170
And then.

04:07.730 --> 04:11.450
And then let's go back to here.

04:12.130 --> 04:22.330
So you see we are I think we don't need these two anymore I'm going to remove them I'm going to uncomment

04:22.330 --> 04:22.810
this.

04:23.370 --> 04:26.490
And finally after I uncomment that.

04:27.050 --> 04:31.730
So I need to just call my scanner.

04:31.770 --> 04:32.090
Okay.

04:32.130 --> 04:33.570
Run scanner method.

04:33.810 --> 04:39.690
So use Ctrl S and then here use Ctrl S and then come right in here.

04:39.730 --> 04:43.170
Clear this and then run this.

04:43.170 --> 04:49.330
And finally uh my god beautiful.

04:49.330 --> 04:51.090
It is working perfectly.

04:51.650 --> 04:54.850
So the first it is traveling okay.

04:54.890 --> 04:58.080
It is Getting all the possible link.

04:58.320 --> 04:58.720
Okay.

04:59.480 --> 05:07.160
And then after that, it is giving me this link and testing that the same thing goes here.

05:08.560 --> 05:13.280
You see these are something it has this has equality.

05:13.280 --> 05:14.800
That means these are vulnerable.

05:14.840 --> 05:15.240
Okay.

05:15.600 --> 05:17.640
And then it gives me the form.

05:17.680 --> 05:18.400
Okay.

05:18.440 --> 05:25.280
It is telling that access is discovered in this link and in the following form.

05:25.320 --> 05:25.680
Okay.

05:25.720 --> 05:28.600
Testing form in this part.

05:28.640 --> 05:32.360
And also the same thing goes here.

05:32.360 --> 05:37.440
And it is giving me the FA and also for this one.

05:37.480 --> 05:38.240
Okay.

05:38.280 --> 05:38.720
Yeah.

05:38.760 --> 05:39.400
Perfect.

05:41.080 --> 05:49.680
It was all about how to create a vulnerability scanner that is, uh, completed.

05:49.720 --> 05:54.320
So thanks for watching and be happy.

05:54.600 --> 05:56.080
Love you.
