Okay, now we created this two method here.
One of them is checking for link.
One of them is checking on a form.
If this both are vulnerable then I'm going to collapse them.
And now I don't care about them how they work.
We tested them and it was working.
Okay.
Now it is time to come back to our scanner method and try to complete this these two method here.
Okay.
So the first one is checking if a form is vulnerable.
Then we will be calling this method okay.
So in here I'm going to create a variable.
And that is going to be is.
A vulnerable.
To access it is going to be equal to self dot test on a form okay.
We are checking in a forum and here I'm going to give the form and also I am going to give the link
as URL right now.
So now I have this stored into this variable.
And here I'm going to check this.
If is this.
That means if it is true then I'm going to print something here.
And that is going to be go to New line okay.
And here let's add something like this.
So it is it became more clear for us so we could understand that okay.
And then I'm going to tell X discovered in class in a link okay.
Then I will add the link.
And you know that link is I think a string.
So string with string it is able to be concatenated and in the following.
In the following forms.
So.
And finally I need to print the form two.
So it is about how we are covering the form and also in links we need to.
Create the same thing here okay.
And also let me add some backslash n here to go to new line okay.
And then.
Uh we have this variable.
So I'm going to copy this and then paste it here.
It is going to be equal to self dot add.
Test There's excesses in link, and you know that this time it is going to ask for a link, not a farm.
Okay, just a link.
So in here.
Again I'm going to use an if statement if it is vulnerable okay.
To access in here I can print.
Print the same thing here.
Is covered.
Uh in.
This link okay.
And also.
In the do we have in there I think we do need to add any, any extra thing.
So we just concatenate a link with this fixed that is here.
Okay, so I use Ctrl S to save this.
And then.
And then let's go back to here.
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
this.
And finally after I uncomment that.
So I need to just call my scanner.
Okay.
Run scanner method.
So use Ctrl S and then here use Ctrl S and then come right in here.
Clear this and then run this.
And finally uh my god beautiful.
It is working perfectly.
So the first it is traveling okay.
It is Getting all the possible link.
Okay.
And then after that, it is giving me this link and testing that the same thing goes here.
You see these are something it has this has equality.
That means these are vulnerable.
Okay.
And then it gives me the form.
Okay.
It is telling that access is discovered in this link and in the following form.
Okay.
Testing form in this part.
And also the same thing goes here.
And it is giving me the FA and also for this one.
Okay.
Yeah.
Perfect.
It was all about how to create a vulnerability scanner that is, uh, completed.
So thanks for watching and be happy.
Love you.