Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (2024)

Improve

Getting the relevant results for our search is challenging work on google or on the internet. Being a Technical person we need to perform some advanced search through which we can get relevant results for our search. So this advanced searching process is known as Dorking. We fire up an advanced query that returns results that are only relevant to our query. Dork Scanner is an automated tool developed in the python language which is beneficial for searching things on the internet. We simply have to provide the query and the results are displayed on the terminal itself. Although Dork Scanner is a CLI-based tool and Google is said to be GUI based tool for the Dorking process. Dork Scanner is an open-source and free-to-use tool. Dork Scanner supports various search engines like Google, Bing, etc. Dork Scanner allows users to set the limit of results to be retrieved.

Note: Make Sure You have Python Installed on your System, as this is a python-based tool. Click to check the Installation process: Python Installation Steps on Linux

Installation of Dork Scanner Tool on Kali Linux OS

Step 1: Check whether Python Environment is Established or not, use the following command.

python3

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (1)

Step 2: Open up your Kali Linux terminal and move to Desktop using the following command.

cd Desktop

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (2)

Step 3: You are on Desktop now create a new directory called Dork-Scanner using the following command. In this directory, we will complete the installation of the Dork-Scanner tool.

mkdir Dork-Scanner

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (3)

Step 4: Now switch to the Dork Scanner directory using the following command.

cd Dork-Scanner

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (4)

Step 5: Now you have to install the tool. You have to clone the tool from GitHub.

git clone https://github.com/madhavmehndiratta/dorkScanner.git

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (5)

Step 6: The tool has been downloaded successfully in the Dork-Scanner directory. Now list out the contents of the tool by using the below command.

ls

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (6)

Step 7: You can observe that there is a new directory created of the Dork Scanner tool that has been generated while we were installing the tool. Now move to that directory using the below command:

cd dorkScanner

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (7)

Step 8: Once again to discover the contents of the tool, use the below command.

ls

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (8)

Step 9: Download the required packages for running the tool, use the following command.

sudo pip3 install -r requirements.txt

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (9)

Step 10: Now we are done with our installation, Use the below command to view the help (gives a better understanding of the tool) index of the tool.

python3 dorkScanner.py --help

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (10)

Working with Dork Scanner Tool on Kali Linux OS

Example 1: Query 1 = “inurl:wp-content/plugins/wp-jobsearch”

python3 dorkScanner.py –query inurl:wp-content/plugins/wp-jobsearch –engine google –page 3 –process 3

1. In this example, We will be performing Dorking for Job Search Portal on the internet, We have passed the query of dork through –query tag and we are searching results on the google search engine.

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (11)

2. In the below Screenshot, We have got the results of our scan and this included only the job search-related results.

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (12)

Example 2: Query 2 = “inurl:”index.php/user/password/””

python3 dorkScanner.py –query inurl:”index.php/user/password/” –engine google –page 3 –process 3

1. In this Example, We are firing the query for detecting user and password files on the internet.

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (13)

2. In the below Screenshot, We have got the results that contain the path of index.php/user/password/.

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (14)

Example 3: Query 3 = “filetype:env “DB_PASSWORD””

python3 dorkScanner.py –query “filetype:env “DB_PASSWORD”” –engine google –page 3 –process 3

1. In this example, We are searching for the .env files on the internet.

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (15)

2. In the below Screenshot, We have got the results that contain the .env files hosted on the server.

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (16)



Last Updated : 14 Sep, 2021

Like Article

Save Article

Share your thoughts in the comments

Please Login to comment...

Dork Scanner – Vulnerable URLs Finder tool in Linux - GeeksforGeeks (2024)
Top Articles
Latest Posts
Article information

Author: Trent Wehner

Last Updated:

Views: 5543

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Trent Wehner

Birthday: 1993-03-14

Address: 872 Kevin Squares, New Codyville, AK 01785-0416

Phone: +18698800304764

Job: Senior Farming Developer

Hobby: Paintball, Calligraphy, Hunting, Flying disc, Lapidary, Rafting, Inline skating

Introduction: My name is Trent Wehner, I am a talented, brainy, zealous, light, funny, gleaming, attractive person who loves writing and wants to share my knowledge and understanding with you.