Según muchas páginas, debería ser fácil recuperar una contraseña de la línea de comandos utilizando security
.
He probado varias opciones sin éxito:
$sudo security list-keychains
"/Library/Keychains/System.keychain"
$sudo security find-generic-password -s "proxy_test"
The specified item could not be found in the keychain.
$sudo security find-generic-password -s "proxy_test" -a "collector" -g
The specified item could not be found in the keychain.
$sudo security find-generic-password -s "socks://proxy_test"
The specified item could not be found in the keychain.
$sudo security find-key -s "proxy_test"
The specified item could not be found in the keychain.
$sudo security unlock "login"
...
$sudo security find-key -s "proxy_test"
The specified item could not be found in the keychain.
...
long etc. with sudo/without sudo.
1 votos
Sudo security find-internet-password -gs proxy_test - Pruebe esto ?