> For the complete documentation index, see [llms.txt](https://derek-johnson-1.gitbook.io/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://derek-johnson-1.gitbook.io/welcome/freshman/security-110/week-5/google-hacking.md).

# 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="/files/jHOKxkUVDGbVUgBq9MoO" 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="/files/v5BQDP1QXMmHFXuPrngX" 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="/files/dCGX3TaVokxco4WVuAwh" 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://derek-johnson-1.gitbook.io/welcome/freshman/security-110/week-5/google-hacking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
