Okay.
We just started our program and we completed up to here, and we got a good 100 for this website because
we were able to get access to this.
And if I, for example, change this to something else like this, and you will see that when the domain
is not exist or the sub domain is not exist, we get something like this an error.
Okay.
Let's see something like this.
Request exception connection error okay.
Something like this.
That means this URL doesn't exist on internet.
So perfect.
And now let me.
Come right here okay.
If I go back you see this.
It looks like the main website okay.
Metasploit.
And we have some sub domain like PHP my admin, this one and also this one okay.
So now of course, these are not the subdomain and the real subdomain, but if um or it could be a subdomain
okay.
And here we can access phpMyAdmin.
And here we could access this one.
And in here we could access this one.
So if I click here you see that the URL changes.
And this is one of the domain subdomain for this main main URL.
And also if I go back here the second one you see I access this one.
And also for this one I access this one.
Okay.
So now I can complete the program uh like this okay.
Now that uh, URL is equal to this one.
Or I could get the URL.
Let me copy this from here and in here.
Let me paste it, use Ctrl V and also instead of.
Uh that I'm going to just use this part right there.
Now, if I use control S and then go back here, let's see if we get to 200 or not.
You see that immediately I get response go to 100 okay.
That means it is okay.
I am able to get access to this part or to this website.
And also if we, for example, change this to one and save this again.
If I came back here, you will see that this doesn't exist.
And it gives me something like this okay.
So it is not very good.
I have to handle that as well.
So we can handle it very easy using try and exception.
And let me use try.
A tab and.
Here I am going to use accept.
And you see we have request this error.
Okay.
So if this happened.
Let's.
Come on.
Don't I have any piercefield.
So I use control V.
If this happen, then I want to pass.
Okay.
Now let's use it.
Okay, I get 100.
I change this to something like this.
And this time it passes, okay?
And I get no error.
So perfect.
We are almost complete.
And let's go.
Uh, get the subdomain for this.
Okay.
Let's see if I get to get 100.
Okay.
So I will see in the next lecture.