WEBVTT - This file was automatically generated by VIMEO

0
00:00:09.100 --> 00:00:12.300
It's time for the fourth demo. Let me

1
00:00:12.300 --> 00:00:15.400
 show you how you can use Google hacking to find

2
00:00:15.400 --> 00:00:17.600
 internal server errors.

3
00:00:18.900 --> 00:00:21.500
The web application is hosted on

4
00:00:21.500 --> 00:00:24.200
 the domain hacking web applications.com.

5
00:00:25.100 --> 00:00:28.900
That's why my Google search engine query starts with

6
00:00:28.900 --> 00:00:31.900
 site hacking web applications.com.

7
00:00:33.100 --> 00:00:38.000
Next I need to type and entitled 500.

8
00:00:38.700 --> 00:00:41.700
500 is the HTTP status

9
00:00:41.700 --> 00:00:44.600
 code for an internal server error.

10
00:00:45.400 --> 00:00:48.800
When this type of error is triggered. The

11
00:00:48.800 --> 00:00:52.100
 number of 500 is typically displayed in

12
00:00:51.100 --> 00:00:53.800
 the title of the web page.

13
00:00:55.200 --> 00:00:58.800
That's why in my Google search engine query. I need

14
00:00:58.800 --> 00:01:02.200
 to type and entitle 500.

15
00:01:03.300 --> 00:01:06.300
Okay. Now you understand how this

16
00:01:06.300 --> 00:01:09.600
 Google search engine query works. So let

17
00:01:09.600 --> 00:01:11.100
 me copy this query.

18
00:01:11.900 --> 00:01:14.600
Let me paste it in Google search

19
00:01:14.600 --> 00:01:18.000
 and let's see if Google indexed

20
00:01:17.200 --> 00:01:20.700
 a web page with an internal server

21
00:01:20.700 --> 00:01:23.200
 error on the domain hacking web

22
00:01:23.200 --> 00:01:24.300
 applications.com.

23
00:01:28.100 --> 00:01:31.500
Please notice that the file French dot

24
00:01:31.500 --> 00:01:35.200
 PHP cannot be included on this page and

25
00:01:34.200 --> 00:01:37.600
 as a consequence, the error message

26
00:01:37.600 --> 00:01:40.800
 is displayed instead of French translation

27
00:01:40.800 --> 00:01:41.900
 of this web page.

28
00:01:43.200 --> 00:01:46.600
So as you can see there is file inclusion

29
00:01:46.600 --> 00:01:50.100
 in this web application and now instead

30
00:01:49.100 --> 00:01:52.700
 of French dot PHP. I will

31
00:01:52.700 --> 00:01:55.400
 include a sensitive file from the web

32
00:01:55.400 --> 00:01:58.800
 server. For example, admin slash

33
00:01:58.800 --> 00:02:01.400
 Dot htpass/wd.

34
00:02:02.700 --> 00:02:05.600
The dot HD pass/wd file

35
00:02:05.600 --> 00:02:09.100
 is used to protect the admin directory

36
00:02:08.100 --> 00:02:11.900
 and it includes the credentials to

37
00:02:11.900 --> 00:02:12.900
 this directory.

38
00:02:13.800 --> 00:02:16.800
That's why I am interested in the content

39
00:02:16.800 --> 00:02:17.700
 of this file.

40
00:02:19.100 --> 00:02:22.500
Okay, let me now hit enter and let's

41
00:02:22.500 --> 00:02:24.400
 check the credentials inside.

42
00:02:25.700 --> 00:02:28.500
As you can see the login is root

43
00:02:28.500 --> 00:02:31.800
 and the password is super secure password.

44
00:02:32.600 --> 00:02:35.500
It clearly shows how easily you

45
00:02:35.500 --> 00:02:39.100
 can use Google hacking to find internal server

46
00:02:38.100 --> 00:02:41.700
 errors in web applications and

47
00:02:41.700 --> 00:02:45.000
 afterwards read the content of sensitive

48
00:02:44.300 --> 00:02:47.600
 files from the web servers by means

49
00:02:47.600 --> 00:02:49.100
 of this error messages.

50
00:02:50.400 --> 00:02:53.300
Okay. Now we are done with this

51
00:02:53.300 --> 00:02:56.500
 demo. So let me jump to the next one and

52
00:02:56.500 --> 00:02:59.200
 let me show you how Google hacking can be

53
00:02:59.200 --> 00:03:02.300
 used for finding sensitive data in the

54
00:03:02.300 --> 00:03:03.000
 URL.
