WEBVTT - This file was automatically generated by VIMEO

0
00:00:06.800 --> 00:00:09.900
It's time for the fourth demo. Let

1
00:00:09.900 --> 00:00:12.900
 me show you how you can use Google hacking to

2
00:00:12.900 --> 00:00:15.400
 find internal server errors.

3
00:00:16.700 --> 00:00:19.300
The web application is hosted on

4
00:00:19.300 --> 00:00:22.000
 the domain hacking web applications.com.

5
00:00:22.900 --> 00:00:25.700
That's why my Google search engine query

6
00:00:25.700 --> 00:00:28.600
 starts with site hacking web

7
00:00:28.600 --> 00:00:29.700
 applications.com.

8
00:00:30.900 --> 00:00:33.600
Next I need to type and

9
00:00:33.600 --> 00:00:35.800
 entitled 500.

10
00:00:36.500 --> 00:00:40.000
500 is the HTTP status code

11
00:00:39.400 --> 00:00:42.400
 for an internal server error.

12
00:00:43.200 --> 00:00:46.500
When this type of error is triggered. The

13
00:00:46.500 --> 00:00:49.800
 number of 500 is typically displayed in

14
00:00:49.800 --> 00:00:51.600
 the title of the web page.

15
00:00:52.700 --> 00:00:55.800
That's why in my Google search engine query.

16
00:00:55.800 --> 00:01:00.100
 I need to type and entitle 500.

17
00:01:01.100 --> 00:01:04.500
Okay. Now you understand how this Google

18
00:01:04.500 --> 00:01:07.400
 search engine query works. So let

19
00:01:07.400 --> 00:01:08.900
 me copy this query.

20
00:01:09.800 --> 00:01:13.000
Let me paste it in Google search and

21
00:01:12.400 --> 00:01:16.100
 let's see if Google indexed a

22
00:01:15.100 --> 00:01:18.900
 web page with an internal server error

23
00:01:18.900 --> 00:01:22.100
 on the domain hacking web applications.com.

24
00:01:25.900 --> 00:01:28.800
Please notice that the file French

25
00:01:28.800 --> 00:01:31.500
 dot PHP cannot be included on

26
00:01:31.500 --> 00:01:35.300
 this page and as a consequence, the error

27
00:01:34.300 --> 00:01:37.300
 message is displayed instead of

28
00:01:37.300 --> 00:01:39.700
 French translation of this web page.

29
00:01:41.100 --> 00:01:44.700
So as you can see there is file inclusion in

30
00:01:44.700 --> 00:01:47.900
 this web application and now instead

31
00:01:47.900 --> 00:01:50.500
 of French dot PHP. I will

32
00:01:50.500 --> 00:01:53.600
 include a sensitive file from the web server.

33
00:01:53.600 --> 00:01:56.500
 For example, admin slash

34
00:01:56.500 --> 00:01:59.200
 dot hdpass WD.

35
00:02:00.500 --> 00:02:03.500
The dot hdpass WD file

36
00:02:03.500 --> 00:02:06.900
 is used to protect the admin directory

37
00:02:06.900 --> 00:02:09.800
 and it includes the credentials to

38
00:02:09.800 --> 00:02:10.800
 this directory.

39
00:02:11.500 --> 00:02:14.500
That's why I am interested in the content

40
00:02:14.500 --> 00:02:15.500
 of this file.

41
00:02:16.900 --> 00:02:19.400
Okay, let me now hit enter

42
00:02:19.400 --> 00:02:22.200
 and let's check the credentials inside.

43
00:02:23.500 --> 00:02:26.200
As you can see the login is root

44
00:02:26.200 --> 00:02:29.500
 and the password is super secure password.

45
00:02:30.400 --> 00:02:33.300
It clearly shows how easily you can

46
00:02:33.300 --> 00:02:36.900
 use Google hacking to find internal server

47
00:02:36.900 --> 00:02:40.400
 errors in web applications and afterwards

48
00:02:39.400 --> 00:02:43.100
 read the content of sensitive files

49
00:02:42.100 --> 00:02:45.600
 from the web servers by means of

50
00:02:45.600 --> 00:02:46.900
 this error messages.

51
00:02:48.200 --> 00:02:51.200
Okay. Now we are done with this

52
00:02:51.200 --> 00:02:54.300
 demo. So let me jump to the next one and

53
00:02:54.300 --> 00:02:57.400
 let me show you how Google hacking can be used

54
00:02:57.400 --> 00:03:00.800
 for finding sensitive data in the URL.
