Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Dork Scanner – Vulnerable URLs Finder tool in Linux

  • Last Updated : 14 Sep, 2021

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

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



cd Desktop

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

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

cd Dork-Scanner

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

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

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

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

ls

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

sudo pip3 install -r requirements.txt

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

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.

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

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.

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



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.

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




My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!