Open In App

wig – WebApp Information Gatherer

Improve
Improve
Like Article
Like
Save
Share
Report

Gathering Information about Web Applications gives you a well-planned methodology for further penetration testing process. Collected Information can be achieved as the milestone which helps in actually exploiting the application. Getting the Information about the CMS(Content Management System), Detecting IP Addresses, Subdomains, Versions will help the tester for succeeding phases of Scanning and Exploitation. Wig tool is a Web Application Information Gathering suite, detecting various Content Management Systems and other administrative applications. The wig is a Python language-based tool. This tool is open-source and completely free to use.

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

Features of Wig Tool 

  • Wig tool supports numerous types of CMS(Content Management Systems).
  • Wig tool also scans the web application for Vulnerabilities.
  • Wig tool gathers the subdomains of the Target domain.
  • Wig tool is a python language-based tool
  • Wig tool is open source and free to use.
  • Wig tool also finds such mail server login page or the web-server admin panel.

Installation of Wig Tool on Kali Linux OS

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

python3

Step 2: Fire 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 Wig using the following command. In this directory, we will complete the installation of the Wig tool.

mkdir Wig

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

cd Wig

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

git clone https://github.com/jekyc/wig.git

Step 6: The tool has been downloaded successfully in the Wig 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 Wig tool that has been generated while we were installing the tool. Now move to that directory using the below command:

cd wig

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

ls

Step 9: Run the setup.py to install the tool, use the following command

sudo python3 setup.py install

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

python3 wig.py -h

Working with Wig Tool on Kali Linux

Example 1: Simple Scan (Single Target)

sudo python3 wig.py geeksforgeeks.org

1. In this example, We will be performing Information Gathering on a single domain. We have specified our target as geeksforgeeks.org because GeeksforGeeks has a vast area of scope so we can get more information. You can see that we have got information about the geeksforgeeks target which includes IP Addresses, CMSes, Subdomains, and their IP addresses, Interesting Directories.

 

Example 2: Multiple Targets

sudo python3 wig.py -l /home/kali/Desktop/lists.txt

1. In this example, We will be gathering information on multiple targets. We have specified lists of targets in the lists.txt file. In the below Screenshot, the contents of lists.txt are displayed.

2. In the below Screenshot, the results or the information of our 1st target URL (geeksforgeeks.org) is displayed.

3. In the below Screenshot, the results or the information of our 2nd target URL (google.com) is displayed.

4. In the below Screenshot, the results or the information of our 3rd target URL (facebook.com) is displayed.

5. In the below Screenshot, the results or the information of our 4th target URL (example.com) is displayed.

Example 3: Specifying Number of threads to use

sudo python3 wig.py geeksforgeeks.org -t 10

1. In this example, we are specifying the thread’s value. -t Tag is used to set the thread’s value, we have set the thread’s value to 10.



Last Updated : 23 Aug, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads