sicurezza: SecKeychainSearchCopyNext: (password Wi-Fi tramite terminale)

0

Sto cercando di visualizzare (come root) le password wifi in testo in chiaro tramite Terminal [1] ma ottieni il seguente errore:

sh-3.2# security find-generic-password -ga "ROUTER-NAME-HERE"
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.

sh-3.2# security find-generic-password -a lily -s "ROUTER-NAME-HERE" -g
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.

quindi ho cercato su google l'errore [2] ma non ho trovato la risposta utile.

[1] How to access the Wi-Fi password through Terminal?

[2] https://stackoverflow.com/questions/8303755/keychain-security-command-line-tool-works-with-find-internet-passwords-but-not-f

sh-3.2# system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: OS X 10.8.5 (12F45)
      Kernel Version: Darwin 12.5.0
      Boot Volume: lily
      Boot Mode: Normal
      Computer Name: lily’s MacBook Air
      User Name: System Administrator (root)
      Secure Virtual Memory: Enabled
      Time since boot: 12:37

sh-3.2# uname -a
Darwin lily-MacBook-Air.local 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64
    
posta lily 07.05.2018 - 08:02
fonte

1 risposta

0

Visualizza la password WiFi di una rete wireless denominata esattamente come questa, sostituendo "wifinetworkname" con il nome della tua rete wireless tra virgolette:

security find-generic-password -D "AirPort network password" -l "wifinetworkname" -w
    
risposta data 07.05.2018 - 09:17
fonte

Leggi altre domande sui tag