# uDork | Tool That Uses Advanced Google Search Techniques

**URL:** <https://onehack.st/t/udork-tool-that-uses-advanced-google-search-techniques/99318>\
**Category:** Tools & Scripts\
**Tags:** tools, tips-tricks\
**Created:** [August 3, 2020, 2:14pm UTC](https://onehack.st/t/udork-tool-that-uses-advanced-google-search-techniques/99318 "2020-08-03T14:14:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [August 3, 2020, 2:14pm UTC](https://onehack.st/t/udork-tool-that-uses-advanced-google-search-techniques/99318/1 "2020-08-03T14:14:10Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/1/c/1cba12d91c57cf82c27025bc984abba740d5be2c.png)

uDork is a script written in Bash Scripting that uses advanced Google search techniques to obtain sensitive information in files or directories, find IoT devices, detect versions of web applications, and so on.  
uDork does NOT make attacks against any server, it only uses predefined dorks and/or official lists from [exploit-db.com](http://exploit-db.com) (Google Hacking Database: [https://www.exploit-db.com/google-hacking-database](https://www.exploit-db.com/google-hacking-database)).

**New functional version: v.2.0**  
**Author: M3n0sD0n4ld**  
**Twitter: [@David\_Uton](https://twitter.com/David_Uton)**

**Download and install:**

```auto
$ git clone https://github.com/m3n0sd0n4ld/uDork$ cd uDork$ chmod +x uDork.sh- Open the file "uDork.sh" and write inside this line:

```

 ![image](https://onehack.st/uploads/default/original/3X/8/9/895ed6e8f54874e3ce821299cb4cf93df00e69ff.png)

```auto
$ ./uDork.sh -h

```

**Steps to obtain the cookie and configure the cookie**

1. Login to [facebook.com](http://facebook.com)
2. Now we will access [www.messenger.com](http://www.messenger.com/) (It is the Facebook messaging app) and click on the “Continue as…” button.

 ![image](https://onehack.st/uploads/default/original/3X/1/2/127551455ce4cc1ce0926dcb32211e01a765e626.png)

1. Once we’re in, all we have to do is get the two cookies we need to make uDork work.

**3.1 – With firefox:**  
— Right mouse button and click on “Inspect”.

 ![image](https://onehack.st/uploads/default/original/3X/8/0/8089cf0b912df3b28e043f735138b0bc36212a71.png)

— Click on the “Network” tab and select any line that is in the domain “[www.messenger.com](http://www.messenger.com/)“.  
— Now click on the “Cookies” tab, copy and paste the cookies “c\_user” and “xs” into the “uDork.sh” file.

 ![image](https://onehack.st/uploads/default/original/3X/f/f/ff0f12388c6e3b4148ac4c7eb9a15e5210f66d5e.png)

Thus: cookies=”c\_user=XXXXXX; xs=XXXXXX;”

 ![image](https://onehack.st/uploads/default/original/3X/8/9/895ed6e8f54874e3ce821299cb4cf93df00e69ff.png)

**3.2 – With Google Chrome**  
— Right mouse button and click on “Inspect”.

 ![image](https://onehack.st/uploads/default/original/3X/0/2/024ff1f8226750507b1eefe7194149374da3e1e3.png)

— Click on the tab “Application”, in the left column, look for the section “Cookies”, copy and paste the cookies “c\_user” and “xs” with their value to the file “uDork.sh”.

 ![image](https://onehack.st/uploads/default/original/3X/a/7/a7f6d9c8c9215b5c9faa8f391533a100b47a83bd.png)

Thus: cookies=”c\_user=XXXXXX; xs=XXXXXX;”

 ![image](https://onehack.st/uploads/default/original/3X/8/9/895ed6e8f54874e3ce821299cb4cf93df00e69ff.png)

**Docker version:**

**Acknowledgement**  
Twitter: [@interh4ck](https://twitter.com/interh4ck) GitHub:([https://github.com/interhack86](https://github.com/interhack86))

```auto
$ git clone https://github.com/m3n0sd0n4ld/uDork$ cd uDork$ docker build -t udork .$ docker run --rm -it -e c_user=XXXXXXXXX -e xs=XXXXXXXXX udork -h

```

**Use:**

**Menu**

 ![image](https://onehack.st/uploads/default/original/3X/1/c/1cba12d91c57cf82c27025bc984abba740d5be2c.png)

**Example of searching pdf files**

 ![image](https://onehack.st/uploads/default/original/3X/0/b/0bd86ddbd3fc39a32c6b7066a2ab7278812e450a.png)

**Example of a search for a list of default extensions.**

 ![image](https://onehack.st/uploads/default/original/3X/a/1/a1b1bb2fd0f9e7f3a2580aec89304d0019ae9366.png)

**Example of searching routes with the word “password”**

 ![image](https://onehack.st/uploads/default/original/3X/6/c/6cc6bbc28dd4e07fe6fea58e2256aa5054a8f129.png)

**Dorks listing**

 ![image](https://onehack.st/uploads/default/original/3X/a/d/ad60f4bfbe7dbdecc7e843f94b61d7b83ced24a4.png)

**Example of use Dorks Massive**

 ![image](https://onehack.st/uploads/default/original/3X/c/a/ca09edba792d25911b2a3307a6ef3113bc9d7aac.png)

MORE RESULTS…

## GitHub:

> **[GitHub - m3n0sd0n4ld/uDork: uDork is a script written in Bash Scripting that...](https://github.com/m3n0sd0n4ld/uDork)**
>
> uDork is a script written in Bash Scripting that uses advanced Google search techniques to obtain sensitive information in files or directories, find IoT devices, detect versions of web applications, and so on.
