
Google dork is the most effective way to perform information gathering on web application. Search engine can do anything to help you find juicy information, but we have to understand the technique and use accurate keyword to collect some sensitive data.
uDork – Google Hacking Tool
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 (Google Hacking Database: https://www.exploit-db.com/google-hacking-database).
Download and install:
$ git clone https://github.com/m3n0sd0n4ld/uDork $ cd uDork $ chmod +x uDork.sh - Open the file "uDork.sh" and write inside this line:

Steps to obtain the cookie and configure the cookie
- Login to facebook.com
- Now we will access www.messenger.com (It is the Facebook messaging app) and click on the “Continue as…” button
- Once we’re in, all we have to do is get the two cookies we need to make uDork work.

With firefox:
- — Right mouse button and click on “Inspect”.
- — Click on the “Network” tab and select any line that is in the domain “www.messenger.com“.
- — Now click on the “Cookies” tab, copy and paste the cookies “c_user” and “xs” into the “uDork.sh” file.

Thus: cookies=”c_user=XXXXXX; xs=XXXXXX;”

With Google Chrome
- — Right mouse button and click on “Inspect”.
- — 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”.

Thus: cookies=”c_user=XXXXXX; xs=XXXXXX;”

Docker version:
$ 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

Example of searching pdf files

Example of a search for a list of default extensions.

Example of searching routes with the word “password”

Dorks listing

Example of use Dorks Massive
