This program is a modification of Juuso Salonen's keychaindump. The difference is, instead of looking for the master key in memory, you simply pass the keychain password to the program.
This is a simple OSX keychain reader.
Build instructions:
$ gcc keychainreader.c -o keychainreader -lcrypto
Basic usage:
$ ./keychainreader <path to keychain file>
[*] Enter password (will be echoed!):
...
(keychain contents)
...
Keychaindump was originally written by Juuso Salonen, the guy behind Radio Silence and Private Eye.
Modified by Lessandro Mariano.
Do whatever you wish. Please don't be evil.