WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.500 --> 00:00:10.700
In this video we are going to cover how to set up a vulnerable

1
00:00:10.700 --> 00:00:13.300
 web application on our Kali

2
00:00:13.300 --> 00:00:17.000
 launch machine that we can simply use for webpage on

3
00:00:16.200 --> 00:00:18.600
 testing. So let's dive on in.

4
00:00:22.200 --> 00:00:24.700
So firstly let's open our virtualbox.

5
00:00:25.700 --> 00:00:28.200
And here we have our Carly Lux, which one machine

6
00:00:28.200 --> 00:00:29.700
 Let's power it on.

7
00:00:34.400 --> 00:00:38.000
Remember to login with a username was Kali and the

8
00:00:37.200 --> 00:00:40.200
 password that you have set in one of

9
00:00:40.200 --> 00:00:41.000
 the previous videos.

10
00:00:44.700 --> 00:00:46.700
Great. So now that we are logged in.

11
00:00:47.600 --> 00:00:50.100
Let's ensure that we have interconnectivity.

12
00:00:51.100 --> 00:00:53.200
so you can open our terminal like so

13
00:00:55.300 --> 00:00:56.800
let's ping Google.

14
00:01:02.400 --> 00:01:05.500
As you can see we are able to perform DNS resolution.

15
00:01:05.500 --> 00:01:08.600
 So we know DNS is working perfectly and we

16
00:01:08.600 --> 00:01:11.200
 are able to connect to the actual web server out on

17
00:01:11.200 --> 00:01:11.700
 the internet.

18
00:01:15.600 --> 00:01:19.100
The first thing we want to do is to download the pgp

19
00:01:18.100 --> 00:01:20.700
 keys for docker.

20
00:01:21.500 --> 00:01:23.100
So you can simply use this command.

21
00:01:24.700 --> 00:01:27.200
It's quite likely so I highly recommend that you

22
00:01:27.200 --> 00:01:30.500
 pause the video and type all this entire command

23
00:01:30.500 --> 00:01:33.800
 as it is. It's a single line of command and then

24
00:01:33.800 --> 00:01:34.300
 hit enter.

25
00:01:35.200 --> 00:01:39.200
Next you will ask to verify your credentials simply

26
00:01:38.200 --> 00:01:41.600
 enter your password and that's pretty

27
00:01:41.600 --> 00:01:41.800
 much it.

28
00:01:42.600 --> 00:01:46.200
The second thing we need to do is we need to configure the

29
00:01:45.200 --> 00:01:49.000
 docker EBT repositories on

30
00:01:48.500 --> 00:01:50.800
 our Kali Linux machine as well.

31
00:01:51.400 --> 00:01:54.500
To do this. We have another very long command

32
00:01:54.500 --> 00:01:54.800
 to use.

33
00:01:56.300 --> 00:01:59.400
Simply pause the recording type all the entire command

34
00:01:59.400 --> 00:02:00.900
 as it is and hit enter.

35
00:02:02.100 --> 00:02:05.000
Once you enter it should be completed within a few seconds.

36
00:02:06.100 --> 00:02:10.500
Next let us update our internal source

37
00:02:10.500 --> 00:02:14.700
 repositories. So let's do sudo update

38
00:02:13.700 --> 00:02:16.400
 like so this should

39
00:02:16.400 --> 00:02:19.100
 take a few seconds to Pops a few minutes to complete.

40
00:02:22.700 --> 00:02:24.500
Okay, great. So now that's completed.

41
00:02:25.400 --> 00:02:29.100
The next step is we need to install the

42
00:02:28.100 --> 00:02:31.300
 docker Community Edition the Community

43
00:02:31.300 --> 00:02:34.800
 Edition command line and the containerization

44
00:02:34.800 --> 00:02:36.300
 feature for docker.

45
00:02:37.300 --> 00:02:40.400
So you can use this command sudo EBT install

46
00:02:40.400 --> 00:02:44.500
 dash wi-fi. Yes docker-c dockerdash

47
00:02:43.500 --> 00:02:46.400
 c - CLI and

48
00:02:46.400 --> 00:02:48.700
 containerd.io and it enter

49
00:02:49.500 --> 00:02:52.600
If you are asked to confirm simply

50
00:02:52.600 --> 00:02:55.800
 type Y and hit enter, but it's

51
00:02:55.800 --> 00:02:56.500
 automated.

52
00:02:58.800 --> 00:03:01.400
Great. So now the installation is finished.

53
00:03:01.400 --> 00:03:04.800
 The last thing we need to do is to actually

54
00:03:04.800 --> 00:03:08.200
 download the juice box Docker

55
00:03:07.200 --> 00:03:10.500
 image onto a Docker container on

56
00:03:10.500 --> 00:03:11.700
 our Kali lungs machine.

57
00:03:13.400 --> 00:03:16.500
To do this simply use a pseudo Docker pull

58
00:03:16.500 --> 00:03:19.100
 and that command here and hit enter.

59
00:03:19.900 --> 00:03:22.600
This should take a few seconds to complete once it's

60
00:03:22.600 --> 00:03:24.900
 completed the last last thing we need to do.

61
00:03:25.700 --> 00:03:29.200
Is to create a port well

62
00:03:28.200 --> 00:03:31.100
 to open a logical port on the

63
00:03:31.100 --> 00:03:34.700
 docker container so that we can connect to

64
00:03:34.700 --> 00:03:37.300
 the actual juice box or the

65
00:03:37.300 --> 00:03:38.500
 Juice Shop application.

66
00:03:44.800 --> 00:03:47.600
Great. So now we can see it's downloaded

67
00:03:47.600 --> 00:03:51.100
 perfectly. The last thing we want to do now is use

68
00:03:50.100 --> 00:03:53.600
 this command, which is Docker run it

69
00:03:53.600 --> 00:03:55.000
 specifies the Rhonda.

70
00:03:55.700 --> 00:03:58.600
Container in the background and we'll

71
00:03:58.600 --> 00:04:02.100
 be connected from our Port 3000 to

72
00:04:01.100 --> 00:04:04.400
 Port 3000 on the container. So let's

73
00:04:04.400 --> 00:04:05.100
 hit enter.

74
00:04:06.400 --> 00:04:09.600
And once everything seems to be satisfied. We'll see

75
00:04:09.600 --> 00:04:12.100
 the surveys listing on Port 3000.

76
00:04:13.600 --> 00:04:16.500
Great. So Wireless is running. Let's open

77
00:04:16.500 --> 00:04:18.900
 our web browser on Kali Linux.

78
00:04:20.200 --> 00:04:20.800
like so

79
00:04:22.400 --> 00:04:26.300
and what we can do now is type HTTP colon

80
00:04:25.300 --> 00:04:27.300
 slash slash.

81
00:04:27.800 --> 00:04:30.800
localhost like so and

82
00:04:30.800 --> 00:04:34.000
 we are going to specify a socket of 3,000

83
00:04:33.500 --> 00:04:34.900
 like so

84
00:04:36.200 --> 00:04:40.300
and there we go. We have our Juice Shop

85
00:04:40.300 --> 00:04:40.600
 running.

86
00:04:41.400 --> 00:04:44.200
On our Kali lungs machine. So therefore we don't

87
00:04:44.200 --> 00:04:47.000
 ever need to actually, you know

88
00:04:47.200 --> 00:04:51.400
 do science any sort of security testing on web applications

89
00:04:50.400 --> 00:04:53.400
 that are not owned by us. We have

90
00:04:53.400 --> 00:04:56.800
 a very own vulnerable web application running

91
00:04:56.800 --> 00:04:58.500
 on our cardiologics machine.

92
00:04:59.500 --> 00:05:02.400
Now, let's say that your finish using wasp. What could

93
00:05:02.400 --> 00:05:05.400
 you do? Well, we could simply close a browser and press

94
00:05:05.400 --> 00:05:08.500
 control and Q to actually quit

95
00:05:08.500 --> 00:05:09.100
 the application.

96
00:05:10.200 --> 00:05:13.600
If contract you doesn't work simply type Q and hit

97
00:05:13.600 --> 00:05:17.200
 enter if that doesn't work then control Z

98
00:05:16.200 --> 00:05:19.000
 who control X or one of

99
00:05:19.200 --> 00:05:20.200
 these will definitely week.

100
00:05:20.800 --> 00:05:23.200
So pretty much that's it for

101
00:05:23.200 --> 00:05:23.600
 this video.

102
00:05:24.600 --> 00:05:27.800
In this video you have learned how to set up the oras

103
00:05:27.800 --> 00:05:30.900
 Juice Shop vulnerable web application on Kali

104
00:05:30.900 --> 00:05:31.200
 Linux.

105
00:05:32.200 --> 00:05:35.600
In the next video, we'll discuss on how to set up a vulnerable

106
00:05:35.600 --> 00:05:38.500
 wireless network that will be used to

107
00:05:38.500 --> 00:05:41.300
 demonstrate a wireless penetration testing in the

108
00:05:41.300 --> 00:05:44.900
 latest sections of this course. I hope this video was informative for

109
00:05:44.900 --> 00:05:46.600
 you and I will see you in the next one.
