View Saved Wi-Fi Passwords on Linux (Python)

Luckyy Vendetta

Administrator
Staff
Luckyy Rep
1
0
0
Rep
1
Luckyy Vouches
2
0
0
Vouches
2
Posts
315
Likes
29
5 YEARS
5 YEARS OF SERVICE
LEVEL 500 XP
This simple Python tool displays all saved Wi-Fi profiles and their passwords on a Linux system using NetworkManager.

Requirements​

Make sure your system has:
Code:
Python 3

How to Use​


1. Open your terminal.
2. Download or copy the script to your system.
3. Run the script with:
Code:
sudo python3 WifiPassLinux.py

What It Does​


- Scans `/etc/NetworkManager/system-connections/` for saved Wi-Fi profiles
- Extracts and displays each SSID and its saved password (PSK)

Example Output​

Code:
[+] SSID: HomeNetwork
[+] Password: mypassword123

[+] SSID: CoffeeShopWiFi
[+] Password: freewifi!

Important Notes​


- You must run the script with sudo to access system connection files
- Works on most Linux distributions that use NetworkManager
- Do not use on systems you don’t own
View attachment 558
You must reply before you can see the hidden data contained here.
 

99

373

461

17

Top