LoginSignup
0
0
この記事誰得? 私しか得しないニッチな技術で記事投稿!

Wi-Fi パスワード。無線網(Wi-Fi)空中線(antenna)(118)

Last updated at Posted at 2019-05-02

Terminalから接続中のWi-Fiのパスワード確認する(OS X)
https://qiita.com/yurakawa/items/3a5135afe6b491b7b57f

Wi-Fi

mac OS

下記コマンドのssid-of-the-netのは、実際のSSIDの文字列に置き換えてください。

$ security find-generic-password -wa ssid-of-this-net

すると、

security.png

ユーザ名とパスワードを入れると、SSIDのパスワードを表示します。

スマフォ、携帯、他の人に教えるのに、ルータのところまで行って、裏をみるよりは、はるかに便利です。

$ /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s
    SSID BSSID             RSSI CHA HT CC SECURITY (auth/unicast/group)
SSID-ONE xx:xx:xx:xx:xx:xx -83  10  N  JP NONE
SSID-TWO xx:xx:xx:xx:xx:xx -91  11  Y  JP WPA2(PSK/AES/AES) 
SSID-THR xx:xx:xx:xx:xx:xx -85  10  N  JP WPA(PSK/AES,TKIP/TKIP)
WPA2(PSK/AES,TKIP/TKIP)
SSID-FOU xx:xx:xx:xx:xx:xx -80  6   Y  JP WPA(PSK/AES/AES) WPA2(PSK/AES/AES) 

略号:
SSID
BSSID
RSSI
CHA:CHANNEL
HT:
CC:
auth
unicast
group
WPA2
PSK
AES
TKIP

Windows

> netsh wlan show profile name=labnol key=clear 

Linux

sudo cat /etc/NetworkManager/system-connections/labnol 

#internet

$ security find-internet-password -gs www.amazon.co.jp
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>

文書履歴(document history)

ver. 0.01 初稿   20190501
ver. 0.02 ありがとう追記 20230611

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0