Just put Lastpass Logon Email address and crypted password in the file and run it with ruby. You might need to gem install the requirements listed on top.
More Info: http://de.slideshare.net/Shakacon/breaking-vaults-stealing-lastpass-protected-secrets-by-martin-vigo