mirror of
https://github.com/kunkunsh/kunkun-ext-wifi-password.git
synced 2025-04-03 18:56:43 +00:00

@kunkun/kunkun-ext-wifi-password
Wifi Password Share
JSR Package: @kunkun/kunkun-ext-wifi-password
Platforms
- MacOS
networksetup -listpreferredwirelessnetworks en0 security find-generic-password -D "AirPort network password" -a $SSID -w
- Windows
$_, $ssid = ((netsh wlan show interface | findstr "Profile" | findstr /v "mode") -split ":",2).trim(); $_, $pass = ((netsh wlan show profile name=$ssid key=clear | findstr Key) -split ":").trim();
- 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)
Features
- Reveal Wifi Password from current machine
- Generate Connection QR Code, mobile devices can scan to connect directly
Description
Languages
TypeScript
100%