Bitcoin Forum
May 05, 2024, 08:21:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 213393 times)
ekiro
Full Member
***
Offline Offline

Activity: 154
Merit: 101


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

Why encrypt it? Store it offline.
1714897260
Hero Member
*
Offline Offline

Posts: 1714897260

View Profile Personal Message (Offline)

Ignore
1714897260
Reply with quote  #2

1714897260
Report to moderator
1714897260
Hero Member
*
Offline Offline

Posts: 1714897260

View Profile Personal Message (Offline)

Ignore
1714897260
Reply with quote  #2

1714897260
Report to moderator
1714897260
Hero Member
*
Offline Offline

Posts: 1714897260

View Profile Personal Message (Offline)

Ignore
1714897260
Reply with quote  #2

1714897260
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
nobbie
Newbie
*
Offline Offline

Activity: 6
Merit: 0


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

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
Newbie
*
Offline Offline

Activity: 46
Merit: 0


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

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
Merit: 250



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

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

Activity: 826
Merit: 500


Crypto Somnium


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

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

Bitcoin will show the world what hard money really is.
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


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

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
Merit: 10


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

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
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


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

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
Merit: 10


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

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
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


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

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
Merit: 10


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

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
Merit: 10


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

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

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

Activity: 283
Merit: 250



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

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
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


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

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
Merit: 1000


I ❤ www.LuckyB.it!


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


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: 114
Merit: 10


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

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: 980
Merit: 500


FREE $50 BONUS - STAKE - [click signature]


View Profile
November 22, 2013, 01:36:23 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.

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.


██████████████████████████████████████████████████████████████████████
████████▀▀▀        ▀▀█████████████████████████████████████████████████
██████▀    ▄▄▄▄▄▄▄▄    ███████████████████████████████████████████████
█████    ▄█████████▌   ▐█████▀  ▐███████████████▌  ▀██████████████████
████▌   ▐██████████    █████    ████████████████    ██████████████████
████▌   ▐█████████▄▄▄▄█████▌   ▐███████████████▌   ▐███▀▀█████████████
█████    ▀███████████████▀▀        ▄███████████    ██▀   ▐████████████
██████▄     ▀▀███████▀▀         ▄▄███▀▀▀▀█████▌   ▐▀   ▄███▀▀   ▀█████
█████████▄▄     ▀▀███▄  ▄▄    ████▀    ▄   ███       ▄███▀   ▄█  ▐████
█████████████▄▄     ▀████▌   ▐███▀   ███   ██▌      ████    ██▀  █████
██████▀▀   ▀█████▄    ███    ████   ███▌  ▐██    ▌  ▐██▌      ▄▄██████
█████    ▄████████    ▐██    ██▀▀   ██▀   ▐▀    ▐█   ██▌   ▀██▀▀  ████
████▌   ▐████████▀    ███▄     ▄▄▄     ▄    ▄   ▐██   ██▄      ▄▄█████
████▌   ███████▀    ▄███████████████████████████████▄  ▀▀██████▀▀ ████
█████    ▀▀▀▀     ▄█████████▀    ▀█▀    ▀█       ▀████▄▄         ▄████
██████▄▄    ▄▄▄▄████████████  █████  ██  █  █  █  ████████████████████
█████████████████████████  █▄    ▄█▄    ▄█  █  █  ████████████████████
██████████████████████████████████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀▐▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄█▀▀▀█████████▀▀▀█▄
▄█▀    ▄▀█████▀     ▀█▄
▄█▄    █        ▀▄   ███▄
▄████▀▀▀▀▄       ▄▀▀▀▀▀███▄
████      ▀▄▄▄▄▄▀       ███
███     ▄▄███████▄▄     ▄▀█
█  ▀▄ ▄▀ ▀███████▀ ▀▄ ▄▀  █
▀█   █     ▀███▀     ▀▄  █▀
▀█▄▄█▄      █        █▄█▀
▀█████▄ ▄▀▀ ▀▀▄▄ ▄▄███▀
▀█████        ████▀
▀▀█▄▄▄▄▄▄▄█▀▀
● OVER 1000 GAMES
● DAILY RACES AND BONUSES
● 24/7 LIVE SUPPORT
Rampion
Legendary
*
Offline Offline

Activity: 1148
Merit: 1018


View Profile
November 22, 2013, 08:30:19 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.

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

Kazahstanec
Newbie
*
Offline Offline

Activity: 41
Merit: 0



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

I am sorry - prompt and where a script? ?
BTChap
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
November 25, 2013, 08:56:33 PM
 #220

didn't see that  Grin
Found my way around this issue as i had a backup copy of my wallet files.

SO my message to the newbs is: Make a copy of your wallet that you keep safe offline and one that is protected by a simple password. It works if you use multibit anyway :-) Check out their section on the forum, my case was explained there.
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!