WEBVTT - This file was automatically generated by VIMEO

0
00:00:06.200 --> 00:00:10.100
Okay. This is my testing web application.

1
00:00:09.100 --> 00:00:12.200
 As I already told you.

2
00:00:12.200 --> 00:00:15.400
 I've got an online shop. And in

3
00:00:15.400 --> 00:00:18.500
 this online shop, you can buy a bunch of different things like

4
00:00:18.500 --> 00:00:21.900
 firewall Lock super secure firewall

5
00:00:21.900 --> 00:00:24.200
 and different different kind of stuff.

6
00:00:24.200 --> 00:00:27.200
 Right? This is of course testing web application just to

7
00:00:27.200 --> 00:00:30.700
 present some attacks and ideas in

8
00:00:30.700 --> 00:00:31.500
 the in the demo.

9
00:00:32.500 --> 00:00:35.000
Okay, so let's assume that

10
00:00:35.300 --> 00:00:39.000
 well, I see that firewall. There is a firewall the price

11
00:00:38.100 --> 00:00:41.900
 of this firewall is 1000 Euros. Let's assume

12
00:00:41.900 --> 00:00:44.700
 that I'm gonna buy this firewall and before buying

13
00:00:44.700 --> 00:00:47.300
 I just want to click firewall and see

14
00:00:47.300 --> 00:00:50.300
 what what's this product is all about right? So let

15
00:00:50.300 --> 00:00:50.800
 me click this.

16
00:00:52.400 --> 00:00:56.400
And I see something like product description by a firewall. Well,

17
00:00:55.400 --> 00:00:58.600
 this is just a demo but take a

18
00:00:58.600 --> 00:01:02.800
 look at the URL. We've got https example.com items

19
00:01:02.800 --> 00:01:05.800
 details dot PHP question mark ID

20
00:01:05.800 --> 00:01:08.700
 equal sign 13, right? So the

21
00:01:08.700 --> 00:01:11.200
 point here is that when you go

22
00:01:11.200 --> 00:01:12.200
 to this URL

23
00:01:13.300 --> 00:01:16.900
And you can see in the upper right corner. I'm not authenticated,

24
00:01:16.900 --> 00:01:17.300
 right?

25
00:01:17.900 --> 00:01:20.100
You can just see the details of

26
00:01:20.100 --> 00:01:22.700
 this product so I don't have to be authenticated.

27
00:01:23.500 --> 00:01:26.500
To see the details of this product. I know the URL

28
00:01:26.500 --> 00:01:29.500
 that leads me to this product or that points

29
00:01:29.500 --> 00:01:32.300
 to this product. So I'm just going to copy this

30
00:01:32.300 --> 00:01:35.300
 URL because in in a minute I'm going

31
00:01:35.300 --> 00:01:35.600
 to

32
00:01:37.600 --> 00:01:40.300
Launch a command in SQL map and I will just

33
00:01:40.300 --> 00:01:43.400
 need this URL. Okay. I hope it is clear. So

34
00:01:43.400 --> 00:01:43.600
 let me

35
00:01:44.500 --> 00:01:46.100
Let me copy this.

36
00:01:47.100 --> 00:01:50.200
And let me go to the command line.

37
00:01:51.800 --> 00:01:52.800
so what I'm going to do

38
00:01:54.300 --> 00:01:57.900
is I'm going to type SQL map.

39
00:01:59.300 --> 00:02:02.300
Then as I already explained to you in the introduction

40
00:02:02.300 --> 00:02:05.300
 Dash you and now in between

41
00:02:05.300 --> 00:02:09.000
 the quotes, I'm going to put my

42
00:02:08.400 --> 00:02:10.700
 URL, right?

43
00:02:12.900 --> 00:02:16.700
This is My URL and well, I

44
00:02:16.700 --> 00:02:19.800
 just want SQL map to find out whether SQL injection

45
00:02:19.800 --> 00:02:22.400
 is possible here. So in other

46
00:02:22.400 --> 00:02:25.400
 words whether parameter named ID is vulnerable

47
00:02:25.400 --> 00:02:26.800
 to SQL injection or not.

48
00:02:27.400 --> 00:02:30.800
And now dash Banner so

49
00:02:30.800 --> 00:02:34.000
 dear SQL map if you find SQL

50
00:02:33.000 --> 00:02:34.300
 injection.

51
00:02:35.300 --> 00:02:38.300
In ID parameter, then just fetch the

52
00:02:38.300 --> 00:02:39.900
 banner. Okay, and that's it.

53
00:02:41.500 --> 00:02:44.500
Hit enter and it's just

54
00:02:44.500 --> 00:02:47.600
 doing all this kind of let's say magic. It's not

55
00:02:47.600 --> 00:02:51.100
 a magic in a true sense. I mean here well,

56
00:02:50.100 --> 00:02:53.800
 everything is automated. Right so different detection

57
00:02:53.800 --> 00:02:57.300
 techniques different steps different payloads. It's

58
00:02:56.300 --> 00:03:00.000
 just done automatically. Okay.

59
00:02:59.900 --> 00:03:04.600
 What I can see is it

60
00:03:02.600 --> 00:03:05.700
 tries to do some kind

61
00:03:05.700 --> 00:03:09.400
 of exploitation right now, right? Yeah.

62
00:03:11.100 --> 00:03:14.000
So yeah get parameter ID is vulnerable.

63
00:03:15.200 --> 00:03:18.400
This is very nice information for me because this

64
00:03:18.400 --> 00:03:20.900
 is what I wanted to achieve and it was so fast.

65
00:03:21.900 --> 00:03:24.000
And so how do I want

66
00:03:24.100 --> 00:03:27.600
 to testing other parameters? No, I don't want to testing to do

67
00:03:27.600 --> 00:03:30.600
 testing of other parameters because this there's

68
00:03:30.600 --> 00:03:33.000
 actually one parameter in our URL.

69
00:03:34.200 --> 00:03:37.400
And yeah, it was it was so fast. Can you see it was

70
00:03:37.400 --> 00:03:37.800
 so fast?

71
00:03:38.500 --> 00:03:42.300
And here you can see here you

72
00:03:41.300 --> 00:03:42.900
 can see the banner.

73
00:03:43.700 --> 00:03:45.600
Here here is the banner.

74
00:03:46.900 --> 00:03:49.500
The banner has been extracted.

75
00:03:50.500 --> 00:03:53.600
And you see the exact version right of the

76
00:03:53.600 --> 00:03:58.000
 database 5.5.48. So

77
00:03:57.700 --> 00:04:01.600
 you just see that SQL

78
00:04:00.600 --> 00:04:04.200
 injection via ID

79
00:04:03.200 --> 00:04:05.500
 parameter is possible.

80
00:04:06.600 --> 00:04:09.700
And as a proof of concept, the banner

81
00:04:09.700 --> 00:04:12.600
 has been extracted so very nice.

82
00:04:12.600 --> 00:04:15.800
 Very cool. And this is just a starting point because

83
00:04:15.800 --> 00:04:18.900
 when I'm going to show you in the next modules is

84
00:04:18.900 --> 00:04:21.800
 how to make more powerful things because

85
00:04:21.800 --> 00:04:24.500
 what we want to do is fetch sensitive data

86
00:04:24.500 --> 00:04:25.400
 from the database.

87
00:04:26.400 --> 00:04:30.000
Launch the most impactful attacks,

88
00:04:29.100 --> 00:04:32.300
 right? So this is just the beginning of our

89
00:04:32.300 --> 00:04:35.200
 journey. I hope everything is clear up till now.

90
00:04:36.300 --> 00:04:40.200
And I want to invite you to the next module.

91
00:04:39.200 --> 00:04:40.700
 Thank you very much.
