WEBVTT

00:02.190 --> 00:07.740
Right, so now that we managed to get a remote shell from our target computer, let's see if we can

00:07.740 --> 00:12.050
do the same and use the same exploit with medium security.

00:12.330 --> 00:13.860
So I'm going to cancel this.

00:15.870 --> 00:18.270
And I'm going to go to the security level.

00:20.940 --> 00:22.740
And I'm going to say that to medium.

00:24.680 --> 00:25.370
Submitted.

00:26.910 --> 00:31.020
And we're going to go back to our final inclusion vulnerability.

00:31.890 --> 00:35.580
I'm going to listen on the same path exactly like we did in the last video.

00:36.560 --> 00:43.610
And I'm going to use the exact same way to get back to the show, so we're just going to put the text

00:43.610 --> 00:46.460
file that contains the code for the reverse connection.

00:50.280 --> 00:56.860
So that's our file and we run it, and as you can see, we get nothing here and we get an error message.

00:57.690 --> 01:04.740
So what's happened here is it could be that the exploit is patched or maybe they're using some sort

01:04.890 --> 01:06.150
of filtering.

01:08.840 --> 01:14.480
You can try and play around with the code now, obviously they can through the filter based on your

01:14.480 --> 01:19.460
name, because, you know, you can have any name in here, they can't really filter on that because,

01:19.520 --> 01:27.020
again, you can have dots and file names like the file that they had originally is the original file

01:27.020 --> 01:27.920
is called.

01:29.110 --> 01:29.880
Include those.

01:30.400 --> 01:36.460
So, again, they can't really have a filter on the dots, so the things that would should raise flags

01:36.460 --> 01:43.380
for you is the forest, which is highly unlikely because, again, for stoushes are used a lot and the

01:43.570 --> 01:49.150
GDP because usually you would not have http ARRL after the first HTP.

01:50.080 --> 01:53.710
So I'm going to use is I'm just going to try and put instead of normalities.

01:53.710 --> 01:54.970
I'm going to put capitalises.

01:56.770 --> 02:04.480
So instead of small Maltese Malti, I have heard GTP, but the truth is in there are capital and if

02:04.480 --> 02:05.320
I had Eterna.

02:06.440 --> 02:12.530
You'll see that I got my connection right here, and again, I have full access to the server where

02:12.530 --> 02:13.930
I can do whatever I want.

02:16.760 --> 02:22.370
Now, obviously, this is happening because the way that they're securing this is not right and we're

02:22.370 --> 02:25.580
going to talk about security in and future lecture.

02:25.910 --> 02:28.970
So I just want to show you the code now, though, just a quick look.

02:28.970 --> 02:30.080
I usually don't show the code.

02:31.040 --> 02:37.320
As you can see here, they're actually looking for hasty steps and they're replacing that with nothing.

02:37.910 --> 02:41.780
So that's why when we used captivities, we were able to bypass this filter.

02:42.080 --> 02:47.480
So always using filters is never a good idea because filters can always be bypassed.
