Skip to content
Related Articles
Open in App
Not now

Related Articles

PyWhat – Linux tool to Find Out About The Mysterious Text

Improve Article
Save Article
  • Last Updated : 14 Sep, 2021
Improve Article
Save Article

Information Gathering is the initial step in the process of penetration testing. While executing this step tester comes across various scenarios while he needs to solve some secret keys or needs to extract some sensitive data dorm mysterious or weird looking text. So solving these secret keys manually becomes very complicated as some keys are really very complicated to be identified, So the only thing the tester can do is to automate the task using the automated scripts.

PyWhat is an automated script developed in the Python Language, which is very beneficial to solve the mysterious text and get the identified results of the provided text. PyWhat tool can give the information about the Cryptocurrency Addresses, or it can give the information from any Numerical value. PyWhat tool is open-source and free to use. It comes as a package in Python Setup.

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 PyWhat Tool on Kali Linux

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


Step 2: Install the Tool using the Pip, use the following command.

pip3 install pywhat

Step 3: Check the help section of the tool using the following command.

pywhat --help

Working with PyWhat Tool on Kali Linux

Example 1: Find Cryptocurrency Addresses.

In this example, We will be solving the mysterious text which is an Ethereum Wallet Address. We have simply passed the weird-looking text and we have got the results with the acceptable description.

pywhat “0xf016d00da9b57f3f8533e7a34292fddc8c928c5e”

In the below Screenshot, We have visited the link which was specified in the description of the results. We have got more information about the mysterious text.

Example 2: Find Cards

In this example, We have an unidentified text in the form of Numerical value. So In the results, we have got the information associated with the text like Credit Card info, Phone Number, American Social Security Number, etc.

pywhat "5105105105105100"

Example 3: Return results in JSON format

In this example, We will be saving the results of the scan in JSON format for further use. –json tag is used to save the results.

pywhat “0xf016d00da9b57f3f8533e7a34292fddc8c928c5e” –json

In the below Screenshot, We are displaying the file contents in which the results are saved in the JSON format.

Example 4: Display the version of pywhat

In this example, We are displaying the Version of the tool by using the  -v tag.

pywhat -v

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!