Skip to content

Instantly share code, notes, and snippets.

@mrkpatchaa
Last active June 29, 2020 06:29
Show Gist options
  • Select an option

  • Save mrkpatchaa/fe235456617725e5ac9a6c24163a61f3 to your computer and use it in GitHub Desktop.

Select an option

Save mrkpatchaa/fe235456617725e5ac9a6c24163a61f3 to your computer and use it in GitHub Desktop.

Revisions

  1. mrkpatchaa revised this gist Jun 29, 2020. No changes.
  2. mrkpatchaa renamed this gist May 17, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. mrkpatchaa revised this gist Sep 27, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion wifi.sh
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,5 @@ netsh wlan show profile NOM_DU_RESEAU_WIFI key=clear
    # Mac
    security find-generic-password -wa NOM_DU_RESEAU_WIFI
    # Linux
    sudo cat /etc/NetworkManager/system-connections/NOM_DU_RESEAU_WIFI | grep psk=
    sudo cat /etc/NetworkManager/system-connections/NOM_DU_RESEAU_WIFI | grep psk=
    # From https://korben.info/une-commande-pour-retrouver-en-clair-le-mot-de-passe-dun-reseau-wifi.html
  4. mrkpatchaa created this gist Sep 27, 2019.
    6 changes: 6 additions & 0 deletions wifi.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # Windows
    netsh wlan show profile NOM_DU_RESEAU_WIFI key=clear
    # Mac
    security find-generic-password -wa NOM_DU_RESEAU_WIFI
    # Linux
    sudo cat /etc/NetworkManager/system-connections/NOM_DU_RESEAU_WIFI | grep psk=