Skip to content

prslash/goethrecover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goethrecover

What is goethrecover?

goethrecover is a very simple tool written in golang to recover lost passphrase of Ethereum Wallets using a list of passphrases (dictionary attack). You can also add some prefix and suffix strings to these passphrases.

How to install goethrecover?

To run goethrecover you need to install golang from Install Golang

Add some packages using 'go get'

go get "github.com/ethereum/go-ethereum/accounts/keystore"
go get "github.com/naoina/toml"

Then build goethrecover

go build goethrecover.go try_unlock.go config.go

How does it works?

It is simple...

./goethrecover -h

Usage of ./goethrecover:
  -conf string
    	TOML file with some configuration (default "conf.toml")
  -passList string
    	Text file with one passphrase per line (default "passList.txt")
  -wallet string
    	Wallet file (default "wallet.json")

In conf.toml there are some configurations option. Lines with # are comments
See conf.toml example below:

#---CONFIGURATION FILE---
#Modify values as you wish

#testVariants is boolean value
#true: Prefix and Suffix variations are tested
#false: Prefix and Suffix variations are not tested
testVariants = true

#preSeq is an array of prefix strings to test
preSeq = [ "123", "2008", "FOX" ]
#postSeq is an array of suffix strings to test
postSeq = [ "456", "1995", "512"]

#preBrute section
[preBrute]
active = true
lenght = 3
chars = ['a', 'b', 'c']

[postBrute]
active = true
lenght = 3
chars = ['1', '2', '3']

If you want to try prefix and suffix you need to set: testVariants = true
-Set prefix and suffix strings
Otherwise set: testVariants = false

If you want to try brute force of prefix (preBrute) and/or suffix (postBrute) set:
active = true
lenght = 3 lenght of string to bruteforce
chars = ['a', 'b', 'c'] set of custom character

Example

./goethrecover -wallet "myWallet.json" -passList "myFavoritesPasswords.txt" -conf "myOwnConf.toml"

Conclusion

This is a very simple tool. I hope it will help you to recover your ethereum wallet. Feel free to suggest new features or improvements.

Please make a donation to developer:

ETH: 0x2feD76d5abE6c001D259eC769c28f6068E0166CB
BTC: 1HTpxVw6KkDakhjqL3bgkYtM7Gsxxzmjw5

Releases

No releases published

Packages

No packages published

Languages