Skip to main content

Posts

Showing posts from November, 2023

Get WIFI password using python

Below is the code which will help to get you or hack a wifi password. After running the program you will get all nearby available wifi passords in one go.  Here is the code:  # now we will store the profiles data in "data" variable by # running the 1st cmd command using subprocess.check_output data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8').split('\n') # now we will store the profile by converting them to list profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i] # using for loop in python we are checking and printing the wifi # passwords if they are available using the 2nd cmd command for i in profiles:     # running the 2nd cmd command to check passwords     results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i,                         'key=clear']).decode('utf-8').split('\n...