It's quite common to need to connect to a wireless network but have lost or unavailable the password. Users often search for ways to How to find out someone else's Wi-Fi password on a laptopto access the internet. It's important to clarify right away: hacking into other people's networks without their permission is illegal and violates cybersecurity principles.
However, there are legitimate scenarios, such as restoring access to your own network, a forgotten parent's router, or a guest account where you have administrator rights. In these cases, knowledge of the technical nuances of operating systems is essential. Windows And Linux allows you to quickly solve the problem without using malicious software.
Modern security methods such as encryption WPA3 and complex hashing algorithms make brute-forcing a password virtually impossible in a reasonable amount of time. Therefore, this article will focus on recovering stored keys in the system and analyzing configuration vulnerabilities, rather than cracking them.
Analyzing saved profiles in Windows
operating system Windows By default, it saves the profiles of all networks the laptop has ever connected to. This is for user convenience, so you don't have to re-enter the data each time. If you have physical access to a device that has previously connected to the desired network, you can retrieve the key directly from the system.
The easiest way is to use the graphical interface. Open "Settings" from the Start menu and go to "Network and Internet." From there, select "Network and Sharing Center" or simply click on your current connection.
In the window that opens, find the "Wireless Network Properties" button. Go to the "Security" tab. By default, the "Network Security Key" field is hidden by asterisks. To see the characters, check the "Show characters" box.
This method only works for the network the laptop is currently connected to. If you need to find data on past connections, the standard interface won't help. This is where command line, providing access to hidden profiles.
Administrator rights are required to work with network profiles. Launch the command prompt (cmd) or PowerShell as administrator. Enter the command netsh wlan show profilesto see a list of all saved networks on your device.
Once you have found the desired network name (SSID), use the command netsh wlan show profile name="Network_Name" key=clearIn the "Security Settings" section, the "Key Contents" line will display the password you are looking for in clear text.
Using the command line for deep analysis
Working with the console may seem complicated for beginners, but it is the most reliable diagnostic tool. Commands netsh allow you not only to view, but also to export profiles in XML format for analysis on another computer.
Exporting a profile is performed using the command netsh wlan export profile name="Network_Name" key=clear folder="C:\Path\To\Folder"The resulting XML file can be opened with any text editor, for example, Notepad++, and find the tag keyMaterial, which contains the password.
It's important to note that if the network uses corporate authentication (802.1x), an explicit password may not be required, as a certificate or domain login is used. Home networks typically use personal security. WPA2-Personal, where the key is static.
What to do if the command prompt is locked?
In some corporate environments or when viruses are present, access to cmd may be restricted. In this case, you can use PowerShell with similar commands or start the system in safe mode.
It's also possible to reset the network settings if the system is not working properly, but this will delete all saved passwords. Therefore, it's recommended to back up important data before making any changes to your network adapters.
☑️ Check before using commands
Restoring access via a router
If your laptop doesn't remember the password, but you have access to the router itself (physically or via cable), you can view the settings directly in the device's web interface. To do this, you'll need to know the gateway IP address, which is usually 192.168.0.1 or 192.168.1.1.
Enter the address in your browser and log in. If you haven't changed the factory settings, your login and password are often located on a sticker on the bottom of the device (e.g., admin/admin). Once in the control panel, go to the “Wireless” or “Wi-Fi” section.
The current key is displayed in the "Wireless Password," "WPA Pre-Shared Key," or "Wireless Network Password" field. You can copy it or change it to a new one that will be easier to remember.
⚠️ Attention: Changing the password in your router settings will disconnect all previously connected devices. You'll have to reconnect smartphones, TVs, and laptops with the new key.
The table below shows the standard addresses for entering the settings of popular router manufacturers:
| Router brand | Default IP address | Login | Password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| D-Link | 192.168.0.1 | admin | (empty) |
| Keenetic | 192.168.1.1 | admin | 1234 |
| Xiaomi | 192.168.31.1 | admin | (installed during first setup) |
If the default credentials don't work, they've been changed previously. In this case, the only solution is to reset the router to factory settings using the button. Reset, which will also require re-configuring the Internet.
Mobile apps and QR code scanning
Modern smartphones based on Android And iOS They can store and share Wi-Fi passwords. If you have a phone that's already connected to the desired network, you can use it to find the password and transfer it to your laptop.
On Android (version 10 and above), go to Wi-Fi settings, select the desired network, and tap "Share" or the QR code icon. The system may require fingerprint or PIN unlocking. A QR code will appear on the screen.
After scanning this code with any QR scanner (or the camera of a second phone), you will see a line like this: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;Symbols after P: and there is your password.
The feature works similarly on iPhone, but you can only share your password with another nearby Apple device via AirDrop. Directly displaying your password as text is only available in iOS 16 and later, under Network settings.
There are also special scanner apps that claim to be able to "hack" a network. In reality, they either reveal the phone's stored passwords or use publicly available password databases, which poses security risks.
WPS Security and Vulnerability Audit
When talking about how to find out someone else's password, we can't help but mention technology WPS (Wi-Fi Protected Setup). It was created to simplify connection, but it contains critical vulnerabilities. If WPS is enabled on the router, it is theoretically possible to bruteforce the PIN code.
The WPS PIN code consists of 8 digits, but verification occurs in two stages (the first 4 and the second 3 digits), which drastically reduces the time for selection. Specialized software, such as Reaver or Bully (for Linux), can try all combinations in a few hours.
However, modern routers are protected against brute-force attacks: after several unsuccessful attempts, WPS is temporarily or completely blocked. Therefore, this method only works on older equipment with outdated firmware.
⚠️ Attention: Using password cracking programs (deauthentication, brute force) against networks that do not belong to you is illegal and falls under criminal law provisions on unauthorized access to computer information.
To check your own network for vulnerabilities, you can use distributions Kali Linux, but this should only be done for educational purposes on your own equipment. This will help you understand how easily an outsider could access your data.
Professional tools and sniffers
Information security specialists use traffic sniffers (for example, Wireshark) to analyze data packets. If the network does not use encryption (open) or uses weak encryption WEP, the intercepted traffic can be analyzed and the password can be obtained.
For networks WPA2 The handshake—the moment the device connects to the router—is intercepted. The resulting hash is then attempted to be decrypted offline using password dictionaries. Success depends on the password's complexity: simple words are easily guessed.
Using such methods requires in-depth knowledge of network protocols and powerful hardware (a graphics card for computing). For the average user, these methods are excessive and complex.
The best way to protect yourself is to use long, random passwords and regularly update your router firmware. This will make brute-forcing your password computationally infeasible for an attacker.
Is it possible to recover a password if MAC filtering is enabled?
If MAC address filtering is enabled on your router, even if you know the password, you won't be able to connect if your device isn't on the allowed list. In this case, you'll need to either change the MAC address of your laptop's network card to an allowed one or have physical access to the router to add a new device.
Frequently Asked Questions (FAQ)
Is it possible to find out a neighbor's Wi-Fi password using special programs?
Theoretically, if a neighbor has an older router with WPS enabled and a weak password, specialized utilities could help. However, modern routers block such attempts 99% of the time, and using such programs to access someone else's network is illegal.
Where can I find my saved password on my MacBook?
On macOS, passwords are stored in Keychain Access. Open the app via Spotlight, find your network name, open Properties, and check the "Show password" box. The system will prompt you for your Mac administrator password.
What should you do if you forgot your router password?
If none of the devices remember the password, and it's not listed on the router (or has been changed), the only solution is to reset the router using the Reset button. This will reset the router to the factory password listed on the sticker, but you'll have to set up your internet connection again.
Is it safe to use Wi-Fi hacking software?
Most free hacking programs contain viruses, miners, or spyware. By downloading such software, you risk losing data on your laptop. Trust only proven security auditing tools, such as Aircrack-ng.