Bitcoin Forum
April 23, 2024, 07:14:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 [8] 9 »
141  Alternate cryptocurrencies / Altcoin Discussion / Altcoin password recovery (typos, missing letters etc), eg LTC, CNC wallet on: May 03, 2013, 08:49:46 PM
So yesterday I couldnt remember my exact password to the CNHCoin-qt wallet (encrypted through the clients wallet encryption option). I must have made some stupid typo twice when I created it, in the new password field as well the repeat password field - ugh, all these precious chinese scam coins gone..
Then I searched the forums and found a solution for trying variations of a vaguely remembered password through the bitcoind daemon.(https://bitcointalk.org/index.php?topic=85495.20).
The problem is that the script talking to the bitcoind daemon expects a newer version of the daemon for testing the password against the wallet. If you try using that script with scrypt base coins like litecoin, LTC or chncoin, CNC daemons (based on old bitcoind 6.3 source), you only get a method not available error.

Manually trying out passwords was no option, so I created a small AutoHotKey script (Windows automation), that tests all the passwords in passes.txt by literally typing them in one by one and checking if the decryption goes through.

Here are the steps to make it work:
1) make the passwords file passes.txt, each password separated from the next by a newline.
You can create this simple ruby script to make 1 letter variations (ie typos) to your remembered password,
this is a minor variation of the script provided by Revalin in the above bitcoind recover thread, saving generated passwords to passes.txt:

create_passes.rb:
Code:
#!/usr/bin/ruby -w

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

def test(phrase)
  print phrase, "\t"
  #system("./bitcoind", "walletpassphrase", phrase, "20")
  File.open('passes.txt', 'a+') { |file| file.write(phrase+"\n") }
end

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

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

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

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


2) Install AutoHotKey Windows automation scripting:
http://www.autohotkey.com/

3) put the following in bruteforce.ahk, adapt the install_path to folder where your passes.txt was created:
Code:
install_path := "C:\chncoin_passwords\"

;FileRead, pass, %install_path%passes.txt
;MsgBox, 4096,, myText is: %pass%
sleep, 100

WinActivate, ahk_class QWidget

IfWinExist, ahk_class QWidget
{
    ;real!
    Loop, Read, %install_path%passes.txt
    {
       
        ;SendPlay %A_LoopReadLine%

Send ^a ; Select All
Send %A_LoopReadLine%{ENTER}
        Sleep, 120
wingettitle, a, a
Sleep 20
if( a == "Unlock wallet")
{
;;give it more time
        Sleep, 200
wingettitle, a, a
}
Sleep 20
if( a == "Unlock wallet")
{
;;give it more time
        Sleep, 600
wingettitle, a, a
}
if(  a == "Wallet unlock failed" )
{
Send "{ENTER}"
}
else
{
MsgBox, 4096,, "FOUND IT:>>"%a%"<<>>%A_LoopReadLine%"<<"
}
    }
    MsgBox, 4096,, "SAD PANDA :("
}

return


4) Start the altcoin wallet-qt client, and go to the receive tab. Click "Add address" and enter a label for the address, click Ok.
Now the client with alert you with a small window titled "Unlock wallet" and a text field. The time has come to execute our little password tool - start the
bruteforce.ahk script by double clicking it. It will automatically switch focus back to the wallet client, and start entering passwords from the passes.txt file.
When it has found a hit the scripts halts and a message box appears telling you what password should match.
Note that password and in the status bar you can the pause/exit the ahk script.

Let me know if that helps you.

uBTC Donations: 154fh7MyC5XPj1qfgCemsJboqxqCo5i5uW
142  Alternate cryptocurrencies / Altcoin Discussion / [WTT] 50k CNC for 1400FTC/10k CNC on: May 03, 2013, 06:05:11 PM
Title says it all, pm me or reply to thread for offers.
143  Alternate cryptocurrencies / Altcoin Discussion / Re: {WTS} 10-k CNCoin on: May 02, 2013, 05:49:37 PM
Just traded with FoundNemo 10kCNC for FTC, excellent seller quick and fast trade. Good communication, recommended.
144  Alternate cryptocurrencies / Altcoin Discussion / Re: [WTT] 25,000chn for best offer of FTC on: May 02, 2013, 05:21:19 PM
5k FTC straight.
145  Alternate cryptocurrencies / Altcoin Discussion / Re: LTC / CNC Exchange: Google Docs on: May 01, 2013, 10:53:26 PM
btw, had a successful trade with imafish2002, bought 400CNC from him for LTC.
146  Alternate cryptocurrencies / Altcoin Discussion / Re: LTC / CNC Exchange: Google Docs on: May 01, 2013, 10:50:49 PM
Requested access as well.
Looking to buy 100k CNC for 900LTC or 11000FTC.
147  Alternate cryptocurrencies / Altcoin Discussion / Re: [WTB] CNC for 12LTC/1000CNC or 180FTC/1000CNC, up to 120k CNC on: May 01, 2013, 10:41:26 PM
I wrote both of you back - I'd prefer sending LTC after receiving CNC. Small chunks eg 250 or 500CNC are fine too if you want to build trust for the trading.

148  Alternate cryptocurrencies / Altcoin Discussion / Re: [WTB] CNC for 12LTC/1000CNC or 180FTC/1000CNC, up to 120k CNC on: May 01, 2013, 09:34:18 PM
bump - raised FTC offer again for CNC. Last price.
149  Alternate cryptocurrencies / Altcoin Discussion / Re: [WTB] CNC for 12LTC/1000CNC or 150FTC/1000CNC, up to 120k CNC on: May 01, 2013, 09:21:57 PM
bump - serious offers only please.
150  Alternate cryptocurrencies / Altcoin Discussion / Re: Selling 1000 CNC for 1 BTC / 31 LTC / 500 FC / 100 NMC / 220 TRC / 400 PPC on: May 01, 2013, 08:01:27 PM
I buy for 6LTC/1000CNC or 60FTC/1000CNC. pm if interested.
151  Alternate cryptocurrencies / Altcoin Discussion / Re: [WTS] 500 CNC on: May 01, 2013, 07:56:43 PM
please make me offers, im accepting LTC, BTC, BBQ, FTC

thx :-)

Hi,
buying for 6LTC or 60FTC per 1000CNC,
so 3LTC or 30FTC for your 500CNC.
152  Alternate cryptocurrencies / Altcoin Discussion / [WTB] CNC [CLOSED] on: May 01, 2013, 07:54:26 PM
As I'm interested in scrypt based coins, I want to buy some CNC coins (CHNCoin).
Reply or pm if you are interested in selling some.
Edit: Updated price (again - more FTC for CNC)
Edit2: closed, as im doing this via the google docs thread.
153  Alternate cryptocurrencies / Altcoin Discussion / Re: [AUCTION] 20,000CNC 5:00PM EST END[HIGHEST OFFER WINS] on: May 01, 2013, 07:11:00 PM
105LTC.
Edit: sorry, seems im too late, pm if you want to sell more.
154  Alternate cryptocurrencies / Altcoin Discussion / Re: Selling 2k FC for LTC. Make offer on: April 25, 2013, 09:16:36 PM
34LTC
155  Alternate cryptocurrencies / Altcoin Discussion / Re: [WTS][FC] 8K REMAINING on: April 25, 2013, 09:15:44 PM
guess i do 18LTC/1000FC again.
156  Alternate cryptocurrencies / Altcoin Discussion / Re: [WTS][FC] 8K REMAINING on: April 25, 2013, 08:11:06 PM
14LTC/1000FC, pm me.
157  Alternate cryptocurrencies / Altcoin Discussion / Re: LTC/FC exchange via Google Docs [Bid 21 LTC | Ask 20 LTC] on: April 25, 2013, 08:10:21 PM
Please update my buy order to 16LTC/1000FC, thanks!
Thanks everyone for the excellent trades.
158  Alternate cryptocurrencies / Altcoin Discussion / Re: [WTB] FC for 20LTC/1000FC, 1000-10000 coins on: April 25, 2013, 07:40:47 PM
Thanks all for good and fast trades - everyone was very professional about it and the experience I had here on bitcointalk was the best so far.
I'll call it a day and may be back for more in the next weeks. Keep mining the precious coins!!
159  Alternate cryptocurrencies / Altcoin Discussion / Re: LTC/FC exchange via Google Docs [Bid 20 LTC | Ask 20 LTC] on: April 25, 2013, 05:04:18 PM
I'm still buying FC for 20LTC/1000FC. Pm if that interests you. I can take a couple k and have made trades with people in this thread: https://bitcointalk.org/index.php?topic=187404.msg1940945#msg1940945
160  Alternate cryptocurrencies / Altcoin Discussion / Re: - WTS - 2k Feathercoin / LTC on: April 25, 2013, 04:50:49 PM
Just did a smooth trade with CryptoTrader. His 3k FC for my LTC. Very pleasant and fast trade!
Pages: « 1 2 3 4 5 6 7 [8] 9 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!