# Google Hacking

### What is Google dorking?

Google dorking is a term which is used to describe specific google searches that reveal certain information and files that normal term searching would not otherwise find. Security professionals use google dorking to see what potentially dangerous information there is published regarding an organization and attackers use it to find vulnerabilities to exploit.

### The first google search I ran was the following

```
allintext:username filetype:log
```

This returned log files that were unintentionally published on the internet. This file shows sensitive information like usernames and passwords which attackers can use to gain access to websites and servers.

<figure><img src="https://2268061532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo71vDQ8YHfe6Cj11Juh6%2Fuploads%2Fj3qxVGdZ4LZP6YR7nppi%2Fimage.png?alt=media&#x26;token=9a80fad1-e7f3-41d0-9f36-7abdab216298" alt=""><figcaption></figcaption></figure>

### The next search I ran was to find cameras running webcamXP5&#x20;

```
intitle:”webcamXP 5”
```

This returned a bunch of webcams and cameras that have webcamXP 5 downloaded onto them. The permissions were never changed to restrict the camera’s connection to the internet allowing for people to view these webcams online.

<figure><img src="https://2268061532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo71vDQ8YHfe6Cj11Juh6%2Fuploads%2FJPiNCjBdwYQ7yrmvqd71%2Fimage.png?alt=media&#x26;token=40883ebe-7bbd-4fe7-9706-11a074cf8c81" alt=""><figcaption></figcaption></figure>

### The last search I ran was the following

```
db_password filteype:env
```

This returned env files which contained more sensitive information like usernames and passwords for databases for different websites and applications. They were also published unintentionally.

<figure><img src="https://2268061532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo71vDQ8YHfe6Cj11Juh6%2Fuploads%2FTmvVvHVCx7W0BrAjryb6%2Fimage.png?alt=media&#x26;token=f75e1ebc-12f7-40fa-866c-a9f4ce013bf7" alt=""><figcaption></figcaption></figure>

### Summary

This shows why people need to be careful about what information is published on the internet. Attackers use this information to gain access to sensitive information and exploit websites or applications.
