Bitcoin Forum
November 21, 2018, 07:22:58 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: del  (Read 292 times)
kandagar
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
del
September 15, 2018, 12:30:29 PM
 #1

del
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542828178
Hero Member
*
Offline Offline

Posts: 1542828178

View Profile Personal Message (Offline)

Ignore
1542828178
Reply with quote  #2

1542828178
Report to moderator
1542828178
Hero Member
*
Offline Offline

Posts: 1542828178

View Profile Personal Message (Offline)

Ignore
1542828178
Reply with quote  #2

1542828178
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1596
Merit: 1756


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
September 15, 2018, 07:52:43 PM
Merited by suchmoon (4), Foxpup (2)
 #2

Hash of what? What hash are you trying to replace?

What exactly are you trying to do? Please ask a question about the goal that you are trying to accomplish, not what you think is a way to accomplish that goal. Asking about how to replace some hash in the wallet.dat file sounds like you think you can solve a problem by replacing a hash. Instead of asking how to replace that hash, you should ask about the problem that caused you to think to replace a hash.

aleksej996
Sr. Member
****
Offline Offline

Activity: 462
Merit: 314


Do not trust the government


View Profile WWW
September 16, 2018, 12:38:42 PM
 #3

It seems like you are having trouble with concept of what a hash is.

Hash is a function that gives some piece of data (input) a unique seemingly random value associated with it.
There are multiple hash functions, one of which are in SHA family. SHA256 is used in Bitcoin for linking blocks, for example.

You can find more about it here: https://en.wikipedia.org/wiki/Hash_function
bob123
Hero Member
*****
Offline Offline

Activity: 756
Merit: 706



View Profile WWW
September 16, 2018, 03:22:27 PM
 #4

'The hash' (= output of a hash function) is dependent from the input. The same input will ALWAYS create the same output (= called 'hash').

Whatever you are trying to accomplish, i can guarantee that it does NOT work the way you imagine.

In fact, i am not aware of any scenario where you would need to 'replace' a hash. Especially not in the context of a wallet.dat ?
If you are running into trouble, start off with a basic description and your specific problem. In most cases, there are solutions. But 'replacing a hash' never is such a solution.


keychainX
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1

Crypto Recovery Service


View Profile WWW
September 16, 2018, 09:23:48 PM
 #5

Hello everyone, can I replace the hash that is coded wallet.dat bitcoincore

no

KEYCHAINX /\ /\ WEBSITE (http://www.keychainx.io) /\ /\
ETFbitcoin
Legendary
*
Offline Offline

Activity: 1512
Merit: 1269


Make winning bets on sports with Sportsbet.io!


View Profile WWW
September 17, 2018, 03:50:04 PM
 #6

wallet.dat signed hash, hash reads the client bitcoin core, I want to create that program read the hash itself instead of the password

So basically you want to get hash of the password of an wallet.dat? I've no idea about Bitcoin Core's wallet.dat, but most of the time the hash isn't hidden or have additional encryption.
All you need to know are knowing read files in binary/hex/raw form and position of the hash (usually there's short number/string to mark the beginning/end of specific data indicator).

But fortunately such tool already exist at https://github.com/magnumripper/JohnTheRipper, specifically at https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/bitcoin2john.py.
Since your plan to make a program, understand source code by other developer shouldn't be difficult.

   ▄▄██████▄▄
  ████████████
███▄▄
 ██████████████▀▀▀██▄
████████████████   ▀██▄
████████████████     ▀██
██████████████       ██▌
██████████████        ▐██
██▌▀▀██████▀▀         ▐██
▐██                   ██▌
 ██▄                 ▄██
  ▀██▄             ▄██▀
    ▀██▄▄▄     ▄▄▄██▀
      ▀▀█████████▀▀





███████████████████████████
███████████▀▀         ▀▀███
████████▀   ▄▄██▄  ▀█▄  ▀██
██████▀  ▄████████▄  ▀█  ██
████▀  ▄██████▄▀  ██▄    ██
███▀  ██████▄▀  ▄▀████▄  ██
██▀  █████▄▀  ▄▀██████  ▄██
██  ▀███▄▀  ▄▀███████  ▄███
██    ▀██▄▄▀███████▀  ▄████
██  █▄  ▀████████▀  ▄██████
██▄  ▀█▄  ▀██▀▀   ▄████████
███▄▄         ▄▄███████████
███████████████████████████
███████████████████████████
████████▀▀       ▀▀████████
█████▀   ▄ ▀███▀ ▄   ▀█████
████  ▄████▄ ▀ ▄████▄  ████
███  ▄ ▀███▀ ▄ ▀███▀ ▄  ███
██  ▄██ ▀▀ ▄███▄ ▀▀ ██▄  ██
██  █▀ ▄█ ███████ █▄ ▀█  ██
██   ▄███▄ █████ ▄███▄   ██
███  ████▀ ▄▄▄▄▄ ▀████  ███
████  ▀ ▄ ▀█████▀ ▄ ▀  ████
█████▄  ▀▀▄ ███ ▄▀▀  ▄█████
████████▄▄       ▄▄████████
███████████████████████████
████████     INDUSTRY LEADING BITCOIN SPORTSBOOK     ████████
LIVE
STREAMING
DAILY PRICE
BOOSTS
LIVE DEALER
CASINO
FAST & SECURE
PAYMENTS
███████████████████████████
████████▀▀       ▀▀████████
█████▀  ▄█▄  ▀  ▄▄   ▀█████
████  ▄  ▀    ▀█████▄  ████
███  ▀█▀   ▀█▄   ▀▀██▄  ███
██  ▄    █▄  ▀██▄▄  ▀█▄  ██
██  █▀ ▄  ▀█▄  ▀███▄  ▀  ██
██    ▄██  ▀██▄  ▀███▄   ██
███  ▀████  ▀███▄  ▀█▀  ███
████  ▀████  ▀████▄    ████
█████▄   ▀▀█▄  ▀▀▀   ▄█████
████████▄▄       ▄▄████████
███████████████████████████
███████████████████████████
████████▀▀ █████ ▀▀████████
█████▀    ▄█████▄    ▀█████
██████▄▄█▀▀ ▄▄▄ ▀▀█▄▄██████
███▀███▀ ▄███▀███▄ ▀███▀███
██   █ ▄██▀     ▀██▄ █   ██
██   █ ██         ██ █   ██
██   █ ▀██▄▄█ █▄▄██▀ █   ██
███▄███▄ ▀██▄▄▄██▀ ▄███▄███
██████▀▀█▄▄ ▀▀▀ ▄▄█▀▀██████
█████▄    ▀█████▀    ▄█████
████████▄▄ █████ ▄▄████████
███████████████████████████





..WIN WITH US!..
keychainX
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1

Crypto Recovery Service


View Profile WWW
September 17, 2018, 07:00:24 PM
 #7

But fortunately such tool already exist at https://github.com/magnumripper/JohnTheRipper, specifically at https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/bitcoin2john.py.
Since your plan to make a program, understand source code by other developer shouldn't be difficult.
[/quote]
I know how to extract a hash, I need a program to replace it, then I ground on my hash
[/quote]

The hash is bound to your public key, if you want to replace the hash then you could just replace then whole wallet.dat file and create a new wallet.
You cannot change the hash to a specific wallet with an public key.

If you do replace the wallet, then dont forget to backup the old wallet or transfer any funds from it before its overwritten (in case you run it off your own node)

KEYCHAINX /\ /\ WEBSITE (http://www.keychainx.io) /\ /\
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1596
Merit: 1756


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
September 18, 2018, 12:08:43 AM
Merited by Foxpup (2)
 #8

I know how to extract a hash, I need a program to replace it, then I ground on my hash
What do you mean by "ground on my hash"?

What are you trying to do? Changing that hash isn't going to change anything in the wallet except making it un-openable. What exactly do you think this is going to accomplish?

AGD
Legendary
*
Offline Offline

Activity: 1722
Merit: 1039


Keeper of the Private Key


View Profile
September 18, 2018, 05:48:19 AM
 #9

I know how to extract a hash, I need a program to replace it, then I ground on my hash
What do you mean by "ground on my hash"?

What are you trying to do? Changing that hash isn't going to change anything in the wallet except making it un-openable. What exactly do you think this is going to accomplish?

I think OP has a wallet.dat he can't access, because he doesn't have the password to unlock it. He probably thinks, he can simply replace the hash in this wallet.dat with his own version to access the funds of this wallet. Since he doesn't mention the reason for his question, I guess this is a matter of a stolen wallet and a brilliant idea...

Bitcoin is not a bubble, it's the pin!
+++ GPG Public key FFBD756C24B54962E6A772EA1C680D74DB714D40 +++ http://pgp.mit.edu/pks/lookup?op=get&search=0x1C680D74DB714D40
HeRetiK
Hero Member
*****
Offline Offline

Activity: 938
Merit: 810


the forkings will continue until morale improves


View Profile
September 18, 2018, 09:25:13 AM
 #10

I think OP has a wallet.dat he can't access, because he doesn't have the password to unlock it. He probably thinks, he can simply replace the hash in this wallet.dat with his own version to access the funds of this wallet. Since he doesn't mention the reason for his question, I guess this is a matter of a stolen wallet and a brilliant idea...
Yes, I want to do this

Ignoring whether OP "found" this wallet or simply lost their password -- the password is used to encrypt the wallet. Even if the hashed password is stored in the wallet.dat file (I'm not familiar with its data structure, unfortunately), simply replacing this hash won't achieve anything as the encryption still persists.

keychainX
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1

Crypto Recovery Service


View Profile WWW
September 18, 2018, 10:11:51 AM
 #11

I think that the password is only needed by the program, when changing the password the file does not change, I need a good programmer for the development of this

So you want to recover the password basically. You cannot change the hash.

KEYCHAINX /\ /\ WEBSITE (http://www.keychainx.io) /\ /\
keychainX
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1

Crypto Recovery Service


View Profile WWW
September 18, 2018, 10:41:01 AM
 #12

there is a program that looks for it, it can be replaced

Yes, but that would be for a different address

KEYCHAINX /\ /\ WEBSITE (http://www.keychainx.io) /\ /\
Foxpup
Legendary
*
Offline Offline

Activity: 2380
Merit: 1193



View Profile
September 18, 2018, 11:29:07 AM
Merited by ETFbitcoin (1)
 #13

I think OP has a wallet.dat he can't access, because he doesn't have the password to unlock it. He probably thinks, he can simply replace the hash in this wallet.dat with his own version to access the funds of this wallet. Since he doesn't mention the reason for his question, I guess this is a matter of a stolen wallet and a brilliant idea...
Yes, I want to do this
Well, you can't, and neither can anyone else. The private key data is encrypted with the password. Without the password, the data is totally unrecoverable. It is simply not true that the password is "only needed by the program"; the password is needed by anything that accesses the data in any way other than to delete or copy it (hopefully it goes without saying that any copies will be equally unreadable without the password, so that's no help either).

Will pretend to do unverifiable things (while actually eating an enchilada-style burrito) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
keychainX
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1

Crypto Recovery Service


View Profile WWW
September 18, 2018, 11:47:27 AM
Merited by achow101 (1)
 #14

why do you think so, the password is only needed for the program

The password is changing the hash....  and the hash is connected to your private key. So without the hash, no private key, no access to wallet.

No password = no private key.

So if you change the hash, you also change the private key, and that would be for a different wallet.

So answer is still NO.

KEYCHAINX /\ /\ WEBSITE (http://www.keychainx.io) /\ /\
keychainX
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1

Crypto Recovery Service


View Profile WWW
September 18, 2018, 12:31:47 PM
 #15

and if people have the same password

the password is a *salt* for the hash,

so password "hello" for hash 049ss85sd094580349s5ss8 gives you hash 9894759834757894
and password "hello" for hash sd284382sds39823983249 gives you hash 238sd8s8sd9sd9ssd

(the hashes above are made up, just to show you visually and to better understand)

KEYCHAINX /\ /\ WEBSITE (http://www.keychainx.io) /\ /\
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1596
Merit: 1756


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
September 18, 2018, 01:13:17 PM
Merited by Foxpup (4), ETFbitcoin (1), HeRetiK (1)
 #16

I think OP has a wallet.dat he can't access, because he doesn't have the password to unlock it. He probably thinks, he can simply replace the hash in this wallet.dat with his own version to access the funds of this wallet. Since he doesn't mention the reason for his question, I guess this is a matter of a stolen wallet and a brilliant idea...
I suspected that was the case..


I think OP has a wallet.dat he can't access, because he doesn't have the password to unlock it. He probably thinks, he can simply replace the hash in this wallet.dat with his own version to access the funds of this wallet. Since he doesn't mention the reason for his question, I guess this is a matter of a stolen wallet and a brilliant idea...
Yes, I want to do this
You can't.

First of all, the password is not stored as a hash. Secondly, changing the way the password is stored will not change how the keys in the wallet are encrypted. It will simply make it impossible to decrypt the wallet. It is not the software that is preventing you from opening the wallet, it is the fact that the private keys are encrypted and you do not know the password.

Bitcoin Core's encrypted wallet format is roughly like this: a secure encryption key is generated and used to encrypt every single private key in the wallet. That secure encryption key is itself encrypted with the password which is stretched with several rounds of PBKDF2 (a hash function designed to generate encryption keys from passwords) and salted (the salt is included when hashing). The result is that the encryption key itself is encrypted with the password, and the private keys in the wallet are encrypted with the encryption key. The only things that are stored are the encryption key in its encrypted form, the parameters to the key stretching process (number of iterations of PBKDF2 and the salt), and the encrypted private keys themselves.

As you can see, there are no hashes stored whatsoever. What matters is the encrypted encryption key. If you were to replace that encrypted encryption key with your own encrypted encryption key (i.e. a different encryption key encrypted with a different password), the key would be unable to actually decrypt the encrypted private keys. You cannot change the password without knowing the current password as it is needed to decrypt the encryption key and to re-encrypt it with the new password.

AGD
Legendary
*
Offline Offline

Activity: 1722
Merit: 1039


Keeper of the Private Key


View Profile
September 18, 2018, 07:03:51 PM
 #17

I will still do it

Then please close this topic.

Bitcoin is not a bubble, it's the pin!
+++ GPG Public key FFBD756C24B54962E6A772EA1C680D74DB714D40 +++ http://pgp.mit.edu/pks/lookup?op=get&search=0x1C680D74DB714D40
bob123
Hero Member
*****
Offline Offline

Activity: 756
Merit: 706



View Profile WWW
September 19, 2018, 02:01:00 PM
 #18

I think that the password is only needed by the program, when changing the password the file does not change, I need a good programmer for the development of this

The password is needed by the client to decrypt the wallet file.
With your idea of 'replacing the hash', you would render your file useless.

Under NO circumstances can you open the file and access the private key without the correct password.

Core is not a shitty program with a simple 'check if password = password'. The file is ENCRYPTED.
So, unless you have chosen a very very weak password which can be bruteforced, you are out of luck. Any additional time invested is wasted.

bob123
Hero Member
*****
Offline Offline

Activity: 756
Merit: 706



View Profile WWW
September 20, 2018, 08:50:31 AM
Merited by ETFbitcoin (1)
 #19

can the hash itself be accepted by the program instead of the password?

I think you still didn't understand it.. You won't be able to access the private keys.

You obviously don't have a clue regarding encryption / hashing / basically everything regarding computer & IT.


A hash is a hash. And a password is a password. And the hash of a password obviously is not the same as the password.
It doesn't matter what 'the program' accepts. You need the password to decrypt the file. Without this password, there is NO WAY.
This is not because 'the program needs a password', but because it is MATHEMATICALLY PROVEN that you need the password to decrypt the file.

I would suggest you stop asking such silly questions. You are only disgracing yourself.

If you have forgotten your password, live with it. It was your mistake.
If you try to open a wallet file which doesn't belong to you, well.. that's the whole purpose.. you won't access it. Get over it.

Pages: [1]
  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!