logo Kunkun
Wifi Password
wifi-password
Version: 0.1.9
Downloads: 27
Size: 24.1 kB
Published At: 2025-02-07 06:25

Security and Privacy

  • clipboard:write-text
  • shell:execute

Description

Show Wifi Password
Show Wifi Password

Commands

  • Show Wifi Password

Publisher Profile

Author

N/A

Contributors

README

Wifi Password Share

JSR Package @kunkun/kunkun-ext-wifi-password: https://jsr.io/@kunkun/kunkun-ext-wifi-password

Platforms

  • MacOS
        networksetup -listpreferredwirelessnetworks en0
        security find-generic-password -D "AirPort network password" -a $SSID -w
  • Windows
    (((netsh wlan show profiles | findstr "Profile") -split ":",2) | findstr /v "Profile").trim(); # find all wifi ssid
    $_, $ssid = ((netsh wlan show interface | findstr "Profile" | findstr /v "mode") -split ":",2).trim(); # find current wifi ssid
    $_, $pass = ((netsh wlan show profile name=$ssid key=clear | findstr Key) -split ":").trim(); # find current wifi password
  • Linux
    ssid=$(nmcli device wifi show-password | grep SSID | cut -d : -f 2 | xargs)
    password=$(nmcli device wifi show-password | grep Password | cut -d : -f 2 | xargs)
    Ubuntu currently only supports showing passwords for connected wifi, I didn't find a way to find password for all wifis. There is command for listing all wifi ssids, but not passwords.

Features

  • Reveal Wifi Password from current machine
  • Generate Connection QR Code, mobile devices can scan to connect directly