Skip to content

A simple python script to retrieve saved Wifi passwords

Notifications You must be signed in to change notification settings

Warafux/Pass-Retrieval-Tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wifi Password Retrieval Tool

A command line tool based on python that is used for retrieval of saved wifi passwords on Windows or Linux.
OSX support is there but the process is still tedious [Under Development].
Many times we wish to know the password of the wifi we are connected to but unfortunately it is a cumbersome task. This tool solves the problem.

How To Use As Library/Utility

Importing the class

from PassRetrievalTool import PassRetrievalTool # Import the class

class PassRetrievalTool_test:

    def __init__(self):
        wifi_password_dictionary = PassRetrievalTool.get_wifi_password_dictionary() # Call the static method get_wifi_password_dictionary() and save it
        
        PassRetrievalTool.print_passwords(wifi_password_dictionary) # Print them or do whatever you want.

if __name__ == "__main__":
    test = PassRetrievalTool_test()

A test.py is available.

How To Use As Command Line

git clone https://github.com/JeeveshN/Retrieve-Wifi-Passwords.git or download the zip file

Retrieve All the passwords together

python pass.py

image

Retrieve in JSON format

python pass.py --json

Example of output:

{
  "Example-Wifi-SSID" : "WifiPassword1234",
  "WifiSSID2" : "p4$$w0rD"
}

Retrieve Based on Wifi Name

Retrieve the password bases on the SSID name. This can also be combined with --json parameter.

python pass.py "Name of Wifi"
python pass.py "Name of Wifi" --json

image

About

A simple python script to retrieve saved Wifi passwords

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%