Author

Topic: Help Finding lost passphrase (Read 656 times)

newbie
Activity: 3
Merit: 0
January 02, 2014, 02:15:08 AM
#1
 Smiley

i have forgotten my passphrase
i have seen the thread with the scripts -but i don't seem to be able to get the scripts to run
i am using OSX and have found the two areas where i need to be
make litecoin.conf in/Users/Andrew/Library/Application Support/Litecoin/
file contains rpcuser=litecoinrpc rpcpassword=rpc-pass

i then have run ./Litecoin-Qt -server -rpcpassword=rpc-pass -rpcport-9332
from Dir Applications/Litecoin-Qt.app/Contents/MacOS

Copied brute.rb to above directory where Litecoin-Qt is
then typed ruby brute.rb

and get this

brute.rb:20: syntax error, unexpected tSYMBEG, expecting kDO or '{' or '('
  request.body = { method:"walletpassphrase", params:[pas...
                           ^
brute.rb:20: syntax error, unexpected ',', expecting kEND
...= { method:"walletpassphrase", params:[passphrase, 1] }.to_j...
                              ^
brute.rb:20: syntax error, unexpected ']', expecting tCOLON2 or '[' or '.'
...hrase", params:[passphrase, 1] }.to_json
                              ^
brute.rb:31: syntax error, unexpected kDO_BLOCK, expecting kEND
  array.first.map do |word|
                    ^
brute.rb:32: syntax error, unexpected tIDENTIFIER, expecting kEND
brute.rb:35: syntax error, unexpected kEND, expecting $end
Jump to: