Bitcoin Forum
November 24, 2017, 02:18:21 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »
  Print  
Author Topic: Encrypted wallet.dat, lost password, any solutions?  (Read 204167 times)
nobbie
Newbie
*
Offline Offline

Activity: 6


View Profile
November 08, 2013, 05:29:50 AM
 #201

revalin?? can you please help me?

your ruby scripts seam to be working okay for my windows pc *if i delete the exit if found it section and change /.bitcoind to /.multibit and i can get it to do what i require almost im just unsure if its testing my pass word

i think i may know the first part well, thiers about 10- 20 diffrent possibilities but i can run and attemtempt each one after much thought im almost 100% of the phrase and pretty sure it has a #after it but i cant seam to get the number combination right its between 1 and 4 numbers on the end between 20-30 charcters long all together

can you help? im running windows but the earlier scripts you posted seam to work the best becuse i dont have a rpc or user name for multibit

CAN YOU PLEASE HELP??

i dont have much invested but its all i have i can pay 0.01 or 0.001 if i must
1511489901
Hero Member
*
Offline Offline

Posts: 1511489901

View Profile Personal Message (Offline)

Ignore
1511489901
Reply with quote  #2

1511489901
Report to moderator
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
ekiro
Member
**
Offline Offline

Activity: 98


View Profile
November 08, 2013, 09:20:03 PM
 #202

Why encrypt it? Store it offline.
nobbie
Newbie
*
Offline Offline

Activity: 6


View Profile
November 09, 2013, 03:05:37 AM
 #203

i think i clicked that yellow box and the password screen pop'd up' so it seamd like a good idea.. i wish the value would start dropping again! im not going to be able to afford more at the current rate of increase its really annoying me
karlb
Jr. Member
*
Offline Offline

Activity: 46


View Profile
November 10, 2013, 01:00:59 AM
 #204

Okay so I've wrote a c sharp forms app that executes bitcoind with the walletpassphrase argument.
The problem is that bitcoind takes about a second to finish executing each time, so I can only try one password per second which is quite a slow rate.
Does everyone else get about this speed? is there a faster method?
lerelerele
Sr. Member
****
Offline Offline

Activity: 336



View Profile
November 10, 2013, 01:05:39 AM
 #205

http://www.youtube.com/watch?v=gmyzs2PPbBQ
Liquid
Hero Member
*****
Offline Offline

Activity: 756


SmartCash


View Profile
November 10, 2013, 01:47:32 AM
 #206

http://www.reddit.com/r/Bitcoin/comments/1q8zan/dave_bitcoin_of_walletrecoveryservicescom_just/

SmartCash A Unique Self-Funding Governance Model Built On A Privacy-Focused, Community-Centered Crypto-Currency with Smart Rewards. Join Smart Cash Today -  https://smartcash.cc
Revalin
Hero Member
*****
Offline Offline

Activity: 728


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
November 11, 2013, 07:36:58 AM
 #207

Are Electrum wallets doable as well? I've lost my pass and seed. Couldn't even get a dump with pywallet and an electrum.dat file.

Bounty for anyone who can help of course.

Sure, I can do Electrum.  Their key stretching has an interesting flaw.  This script exploits it to get a few hundred times speedup compared to simple brute force.

My help is free but tips are always welcome.  I suggest 15%, just like tipping your waiter.  Smiley

Code:
#!/usr/bin/ruby
require 'base64'
require 'digest/sha2'
require 'open3'
require 'openssl'

# Double substitution for Electrum

# Put your best guess at your passphrase here
passphrase = 'Oops I forgot'

# The full path to your electrum.dat or default_wallet
wallet_file = '/home/revalin/.electrum/wallets/default_wallet'

# Where to find Electrum.  Use 1.9.2!  Older versions may be incompatible.
$electrum = '/home/revalin/Electrum-1.9.2/electrum'


def test(phrase)
  $cipher.reset
  $cipher.key = Digest::SHA256.digest(Digest::SHA256.digest(phrase))
  $cipher.update $seed
  $cipher.final
  puts phrase
  i,o,t = Open3.popen2e($electrum, "-o", "getseed")
  i.puts(phrase)
  i.close
  if t.value.success?
    puts "Found it! #{phrase}"
    exit
  end
rescue OpenSSL::Cipher::CipherError
end

def scramble(passphrase)
  characters = " !\"\#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
  list = []

  # transpose adjacent chars
  (passphrase.length - 1).times do |i|
    testphrase = passphrase.dup
    testphrase[i] = passphrase[i+1]
    testphrase[i+1] = passphrase[i]
    list << testphrase
  end

  # delete one char
  passphrase.length.times do |i|
    testphrase = passphrase.dup
    testphrase = testphrase[0,i] + testphrase[(i+1)..-1]
    list << testphrase
  end

  # substitutute one char
  passphrase.length.times do |i|
    characters.chars.each do |c|
      testphrase = passphrase.dup
      testphrase[i] = c
      list << testphrase
    end
  end

  # insert one char
  (passphrase.length + 1).times do |i|
    characters.chars.each do |c|
      testphrase = passphrase.dup
      testphrase.insert(i, c)
      list << testphrase
    end
  end

  return list.uniq
end

wallet = File.read(wallet_file)
seed_base64 = wallet.match(/'seed': '([^']+)'/).captures.first
$seed = Base64.decode64(seed_base64)
$cipher = OpenSSL::Cipher.new('aes-256-cbc')
$cipher.iv = $seed.slice!(0,16)
Dir.chdir File.dirname $electrum
list1 = scramble(passphrase)
list1.each { |i| test i }
list1.each { |i| scramble(i).each { |j| test j }}
puts "No luck."
exit 1

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
captchunk
Member
**
Offline Offline

Activity: 112


View Profile
November 12, 2013, 05:05:46 AM
 #208

Man I hate needing to have my hand held through things but I've never run a ruby script before. Electrum 1.9+ doesn't seem to want to load for me anymore in Windows so I tried in a Debian Live bootable USB but kept getting syntax errors (cool OS btw, now I see why people are into it).

Share of the bounty for the guy who helps the noob run Revalin's script?
Revalin
Hero Member
*****
Offline Offline

Activity: 728


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
November 12, 2013, 07:45:47 AM
 #209

The scripts need Ruby 1.9.  Try this:

Code:
sudo apt-get install ruby1.9.1
sudo ln -sf /usr/bin/ruby1.9.1 /etc/alternatives/ruby

Then run it again.  If that doesn't work then paste the errors here so I can see what's wrong.

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
captchunk
Member
**
Offline Offline

Activity: 112


View Profile
November 12, 2013, 06:01:07 PM
 #210

Named the script rs.rb. Just "ruby rs.rb" to run, right? Ok here's the output:

user@debian:~/Desktop$ ruby rs.rb
rs.rb:13: unknown regexp option - r
rs.rb:13: syntax error, unexpected '.'
wallet_file = /home/user/.electrum/wallets/default_wallet
                          ^
rs.rb:16: unknown regexp option - r
rs.rb:16: no .<digit> floating literal anymore; put 0 before dot
$electrum = /home/user/Electrum-1.9.3/electrum'
                                    ^
rs.rb:16: syntax error, unexpected tINTEGER
$electrum = /home/user/Electrum-1.9.3/electrum'
                                     ^
rs.rb:16: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
$electrum = /home/user/Electrum-1.9.3/electrum'
                                               ^
rs.rb:36: syntax error, unexpected '(', expecting $end
  characters = " !\"\#$%&'()*+,-./0123456789:;<=>?@ABCDE...



This is how I modified the top half of the script:
Code:

#!/usr/bin/ruby
require 'base64'
require 'digest/sha2'
require 'open3'
require 'openssl'

# Double substitution for Electrum

# Put your best guess at your passphrase here
passphrase = **********

# The full path to your electrum.dat or default_wallet
wallet_file = /home/user/.electrum/wallets/default_wallet

# Where to find Electrum.  Use 1.9.2!  Older versions may be incompatible.
$electrum = /home/user/Electrum-1.9.3/electrum
Revalin
Hero Member
*****
Offline Offline

Activity: 728


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
November 12, 2013, 08:52:14 PM
 #211

You need to surround the strings with single quotes.  If there are any single quotes or backslashes in the strings you need to represent them as \' or \\ .  Like this:

Code:

#!/usr/bin/ruby
require 'base64'
require 'digest/sha2'
require 'open3'
require 'openssl'

# Double substitution for Electrum

# Put your best guess at your passphrase here
passphrase = 'I think i\'m a password'

# The full path to your electrum.dat or default_wallet
wallet_file = '/home/user/.electrum/wallets/default_wallet'

# Where to find Electrum.  Use 1.9.2!  Older versions may be incompatible.
$electrum = '/home/user/Electrum-1.9.3/electrum'

[/quote]

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
captchunk
Member
**
Offline Offline

Activity: 112


View Profile
November 12, 2013, 09:51:01 PM
 #212

Ok I think it's working. I'm seeing an output of the possible passwords in the terminal. Just to be certain, I shouldn't be seeing anything else right? The script has
Code:
puts "No luck."
towards the end, I shouldn't be seeing after each password output, correct?

You sir are a Hero Member.
captchunk
Member
**
Offline Offline

Activity: 112


View Profile
November 12, 2013, 09:58:59 PM
 #213

Holy sheepshit I found it already!!!!!!!!!!!!!!

Mr. Revalin .7 BTC is coming your way
funkymunky
Sr. Member
****
Offline Offline

Activity: 283



View Profile
November 13, 2013, 08:52:46 AM
 #214

Holy sheepshit I found it already!!!!!!!!!!!!!!

Mr. Revalin .7 BTC is coming your way

Wow, good on you both Cheesy
Revalin
Hero Member
*****
Offline Offline

Activity: 728


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
November 13, 2013, 08:59:47 AM
 #215

Holy sheepshit I found it already!!!!!!!!!!!!!!

Mr. Revalin .7 BTC is coming your way

Thank you!  I'll make sure it's put to good use.  Smiley

Nobbie, sorry I missed you earlier.  Did you get it working?

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
PTseller
Legendary
*
Offline Offline

Activity: 1148


I ❤ www.LuckyB.it!


View Profile
November 20, 2013, 06:36:22 PM
 #216


Mr Revalin
   
        Please help me out to Find Password of my wallet i am using Bitcoin wallet i have stored few BTC 8 months back but i forget my password and i have tried many times to recover it from past 6 days but i can't ! Please man help me out will give some reward for sure.

The main problem is that i am noob in using script and i can't understand script language so if you can tell me step by step process i can do it or if you have video tutorial then that's makes me happy !

Regards'
PTseller
BTChap
Member
**
Offline Offline

Activity: 108


View Profile
November 21, 2013, 02:50:37 PM
 #217

Hello Revalin,
I contact you in order to get your script running as i can't figure my password out anymore. I have a rough idea of what it was so i can narrow down to a handfull of characters and some numbers and 1 special sign Cheesy
However i can't understand what to do with the code you've provided. I browsed the thread (not very deep i have to admit as i got lost quickly enough due to my lack of technical knowlede.
Knowing that i run W7 and have my wallet on Multibit, could you write down a quick guide of the soft i need to install and the procedure to get going at cracking this?

I'd be glad to hear from you ASAP Cheesy
5% of funds going your way if i get it back.
PrintMule
Hero Member
*****
Offline Offline

Activity: 630


GET IN - Smart Ticket Protocol - Live in market!


View Profile
November 22, 2013, 01:36:23 PM
 #218

Hello Revalin,
I contact you in order to get your script running as i can't figure my password out anymore. I have a rough idea of what it was so i can narrow down to a handfull of characters and some numbers and 1 special sign Cheesy
However i can't understand what to do with the code you've provided. I browsed the thread (not very deep i have to admit as i got lost quickly enough due to my lack of technical knowlede.
Knowing that i run W7 and have my wallet on Multibit, could you write down a quick guide of the soft i need to install and the procedure to get going at cracking this?

I'd be glad to hear from you ASAP Cheesy
5% of funds going your way if i get it back.

Seems a little to low. Depends on how much these 5% are worth though. You should specify that in this thread to raise additional interest/motivation.


               ████
             ███  ███
           ████     ███
         ███  ███    ███
       ████     ███    ███
     ███  ███     ███    ███
   ████     ███     ███   ██
 ███  ███     █████████████████
███     ███     ███           ██
 ███      ███     ██          ██
   ███      ██████████      ███
     ███      ██████      ███
       ███      ██      ███
         ███          ███
           ███      ███
             ███  ███
               ████

GUTS
    ███
███
███
███
███
███
███
███
███
███
███
███
███
███
   
smart-ticket protocol for events
live product with market traction!
    ███
███
███
███
███
███
███
███
███
███
███
███
███
███
   
  BTC ANN
  WEBSITE
  BLOG
   
  SANDBOX
  WHITEPAPER
  BOUNTY
   
Rampion
Legendary
*
Offline Offline

Activity: 1106


View Profile
November 22, 2013, 08:30:19 PM
 #219

Hello Revalin,
I contact you in order to get your script running as i can't figure my password out anymore. I have a rough idea of what it was so i can narrow down to a handfull of characters and some numbers and 1 special sign Cheesy
However i can't understand what to do with the code you've provided. I browsed the thread (not very deep i have to admit as i got lost quickly enough due to my lack of technical knowlede.
Knowing that i run W7 and have my wallet on Multibit, could you write down a quick guide of the soft i need to install and the procedure to get going at cracking this?

I'd be glad to hear from you ASAP Cheesy
5% of funds going your way if i get it back.

Seems a little to low. Depends on how much these 5% are worth though. You should specify that in this thread to raise additional interest/motivation.

Revalin suggested 15%, BTChap offers 5% - not a good start Cheesy

Kazahstanec
Jr. Member
*
Offline Offline

Activity: 41



View Profile
November 25, 2013, 04:36:07 PM
 #220

I am sorry - prompt and where a script? ?
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!