Скрипт.
#!/usr/bin/ruby -w
passphrase = "ДупштщмнесрКщьфт"
def test(phrase)
print phrase, "\t"
system("dash-cli", "walletpassphrase", phrase, "20")
case $?.exitstatus
when 0
puts "Found it! #{phrase}"
exit 0
when 127
puts "dashd not found in current dir"...