How to find a forgotten wifi password?

Kenan YAMAN
6 min readJan 16, 2021

Revage internet and technology. Everyone has a smartphone, everyone’s effort to exist on social media, seen and drop- off, fine writings, tweets when we say that internet is a part of our lives, like bread, like water, it has become indispensable. The next generation is more in this situation. And yet, when a guest comes to your house, after a while you will definitely hear the question, ‘what was the wifi password?’ . What was that code?

Once we set up the modem and left it on your phone and computer, we didn’t have a problem getting a password again, we’re used to being comfortable. Everything’s automated. We don’t have to keep these characters in mind. But there comes a time when we need to either learn this password or reconfigure the modem through a long and painful process.

Let’s see how we can get the password to the wifi network that we’ve already connected to on our computer or phone without going into this painful process.

Linux Distributions

Go to the network settings section, and when you click on the options section of the network you’re connected to, you can access any changes you can make with the network you’re connected to and all the details you can view. In these details, you can see your network password hidden with the character ‘*’ when you click on the security tab. When you press the Show password button at the bottom, you can clearly see your password.

Linux network features

In other linux versions, this path may be different. If you type network settings in the search section, you can find them.

In other ways, if you enter the following code, you can access all saved passwords.

sudo grep psk= /etc/NetworkManager/system-connections/*

Open a terminal screen and type this code, and the administrator will request the password. After you enter the administrator password, you can see all the passwords.

On Windows operating system

Let’s look at how we do it visually, as we did upstairs.

Click once on the wifi icon on the right side, click ‘Open network and sharing center’ at the bottom of the pop-up screen.

On the pop-up screen, click ‘Manage wireless networks’ on the left.

The networks on the pop-up screen are wifi networks that we have previously connected to.

Click twice on the wifi network where you want to know the password. Click security at the top of the pop-up screen. The password is hidden with the character ‘*’. Your password will be visible when you check the ‘Show characters’ tile.

You can do it visually this way. It may be different in other versions of windows.

Just like linux systems, we can see wifi passwords registered with code via windows. So let’s write this block of code to the command-line screen that we opened as an administrator.

netsh wlan show profiles

With this code, we can see all the networks we’ve connected before. From now on, remember the name of the network you want to know the password, we’re going to need it now.

netsh wlan show profiles name=ağ_ismi key=clear

we write the name we want to know the network password registered in the name parameter. If you receive errors, check the network name by retyping the command showing the registered networks. If you have not made an error, you can see the network name registered at the bottom of the window.

On Mac operating systems

In the search section, type “key”, and then click “Keychain Access.” In the pop-up window, type the name of the wifi network in the box and right-click on the result of the wifi network click “Give information” by clicking on the article . Here you will have access to the password when you check the “Show password” tile.

As with other operating systems, we can see the passwords registered using the command line on mac. For this, we open a terminal screen and enter this code.

security find-generic-password -wa registered_ağ_ismi

Type the name of the registered network where you want to know the password in the registered_ağ_ismi section. If you didn’t make any mistakes when you run the command, you can see the password at the command line.

Everything that happened so far, if we had a computer, it was scenarios we could do. We can do what I’m saying here over the phone.

For Android

We can’t see the wifi password through the system in Android Q and later versions, but a qr code is created to share the wifi, and you can read this qr code with a qr code reader that you want to upload to the phone of the person you want to give the wifi password to the network you can connect.

Our phone needs root authority to see networks registered on Android. I keep saying that your phone has root authority.

Let’s open the directory with a file manager installed on your phone and system folders, find the ‘data’ folder and log in, and log in to the folder ‘misc’. Under this folder will be another folder named ‘wifi’. This folder is a folder where some information about wifi is collected. You open the file that says “wpa_supplicant.conf” under this folder with any editor. Passwords for all networks you have previously logged in to are stored on this folder.

It’s a laborious and exhausting job. If you download and install this app on google play instead, you can access passwords more easily. Or if you type ‘wifi password recovery’ from google playdan you can find many apps.

When you set up and open the application, you can request approval for administrator authorization, and you can start using it after you have approved it.

For iphone/ios

Iphone phone, just like androids, needs root authority, if we have root authority ( actually passed as a jailbreak, not root on iphone devices) through cydia (cydia for iOS, a user has been jailbroken a package manager mobile app that allows iPhones to find and install software packages on iPads, iPads, and iPods.) If you write ‘wifi password recovery’ or ‘wifi password’ for short, you can find a lot of apps.

If your phone is not jealbreakli and you are not using a version to jailbreak, you will need a macOS computer. I keep assuming you have a computer. First of all, we go into settings via iphone. Find the icloud settings and activate the ‘Chain’ feature. Then we write ‘Keychain access’ to the search section on macOS. After logging in to this page, we write the name of the network we want to learn, and right-click on the resulting network and click ‘Give information’ and mark the ‘Show password’ box on the page that opens. The manager will ask for his password. Once we enter the password, we can see the password for the network we connect to via the iphone.

This article was first published on the website www.kenanyaman.com on 29.12.2019

--

--