Bitcoin Forum
June 19, 2019, 02:14:17 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
  Home Help Search Login Register More  
  Show Posts
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 »
241  Economy / Auctions / Re: Advertise on BitcoinDifficulty.com - Now over 4000 uniques per day. on: December 02, 2013, 03:44:25 AM
This 7-day auction is still on target, despite the forum's downtime.

Recent traffic stats:

Fri: 6053
Sat: 4712
Sun: 4173

(Weekends are always a bit slower than Mon-Fri)

Daily avg for past 7 days: 5074

242  Economy / Auctions / Re: Advertise on BitcoinDifficulty.com - Now over 4000 uniques per day. on: December 01, 2013, 12:34:06 AM
Thanks!
243  Bitcoin / Bitcoin Discussion / Re: Need to educate, time to sell bitcoins by the bit? (0.00000001) on: November 30, 2013, 07:33:05 AM

This satoshi is killin' me!

Too many syllables!!! I propose we call that device a 'bit' instead.
244  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 30, 2013, 04:07:20 AM
Make sure to say I'm not welcome there, too.

That's entirely up to you and how you decide to enter the discussion.
245  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 30, 2013, 04:03:25 AM
I decline my tip, give it to someone else that needs.

Sure thing - I'll need it myself if I don't end up cracking this damn password Cheesy


If you're serious into it, you shouldn't be doing this in javascript.

Thanks, I'll get serious if 8m doesn't yield a result.

At that point I'll post a new bounty for some hardcore gpu coding and test a few trillion.
246  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 30, 2013, 03:58:30 AM
I decline my tip, give it to someone else that needs.

Sure thing - I'll need it myself if I don't end up cracking this damn password Cheesy
247  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 30, 2013, 03:44:50 AM

this worked properly when I fed it something with 2^11 (2048) combos, but hung the browser when i tried 2^23 (8m).

It just sits there not responding after clicking [view], and then finally I get a popup telling me it's not responding and would I like to kill it.


I know you hate me and all for whatever reason, but if you tried running the earlier code I gave you will notice it can handle 2^23 and other inputs without killing the browser. Obviously it will take a long time because generating addresses in javascript is slow.

I don't hate people who haven't matured yet. I've been there before, myself.

I will take a look at your code now and give praise where praise is due. Thanks.


Thanks for at least taking a look at it.

With your earlier example, it stops at (abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuv) Combinations tried: 22 out of 26 and shows the match, btw.

Well this does work as described thanks, although I won't be using it as it's 20x slower than tubby's.

Anyway, I've actually done the last little bit of tubby's code myself, so I have everything I need now.

Thanks everyone for your efforts and participation, I'm sending out coins like this:


The code I'll be actually using (with my own tiny mod):

Tubbyjr: 0.4 BTC


Had a good crack at this, but ultimately I won't be using his code:

Schalk: 0.1 BTC


Tips (Let me know your address if you haven't already):

KieranJones1: 0.005 BTC
Ciyam: 0.005 BTC
Moderate: 0.005 BTC - Try not to come off so harsh next time, and your coding will take you far, I'm sure.

248  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 30, 2013, 03:05:39 AM

this worked properly when I fed it something with 2^11 (2048) combos, but hung the browser when i tried 2^23 (8m).

It just sits there not responding after clicking [view], and then finally I get a popup telling me it's not responding and would I like to kill it.


I know you hate me and all for whatever reason, but if you tried running the earlier code I gave you will notice it can handle 2^23 and other inputs without killing the browser. Obviously it will take a long time because generating addresses in javascript is slow.

I don't hate people who haven't matured yet. I've been there before, myself.

I will take a look at your code now and give praise where praise is due. Thanks.
249  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 30, 2013, 03:00:48 AM

Hi Tubby,

Your progress alert is working how I'd expect, however your code doesn't seem to be actually checking each address against the target. Once the target address is found, it should stop processing and show what phrase generated that address.

I tried your code with the following phrase:

abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuv

The real bitaddress.org says the address for that is 1KVGuANp3HyH4m6xQYhUV9EWhq6tUVypAG

So, in your html, I input:

a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
abcdefghijklmnopqrstuvwxyz
1KVGuANp3HyH4m6xQYhUV9EWhq6tUVypAG

There are 26 combinations in the above, but your code tries all 26 of them with no 'success', whereas it should have found success on the 23rd 22nd attempt.

My originally supplied code in the OP does properly check the target address and stop processing at that point, so this is functionality that you have broken or removed in your version. If you can put that functionality back in, the bounty would be yours.

Thanks very much.


Isn't this the unexpected result?

Shouldn't it just check:
abcdefghijklmnopqrstua
abcdefghijklmnopqrstub
abcdefghijklmnopqrstuc
,,,
abcdefghijklmnopqrstuz

so it will never check abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuv?

No, the pass is always 48 chars long (That's what the 48 input boxes are for).

It'll check:

abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstua
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstub
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuc

...

It should stop processing when it reaches the correct one (22nd attempt):

abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuv  -> This creates the bitcoin address 1KVGuANp3HyH4m6xQYhUV9EWhq6tUVypAG

even though there are 4 more combos...

abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuw
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstux
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuy
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuz
250  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 30, 2013, 02:58:28 AM
Hi Cyberdyne

I have made it so that it shows the progress - http://privatepaste.com/683603b43b

The core of this code is:

Code:
// we want to find the passcode for this bitcoin address
var target = document.getElementById("targetaddress").value.toString().replace(/^\s+|\s+$/g, "");
//var target = "1Eq8Ucu2ugn4owQZ8RUybrA3Cm2Bo7Zzac";

// passphrase search data
var inputElements = document.getElementsByTagName("input");
var searchData = [];
for(var i = 0; i < inputElements.length; i++) {
if (inputElements[i].getAttribute("data-role") == "passPhraseChar") {
var value = inputElements[i].value.toString().replace(/^\s+|\s+$/g, "");
if (value != "") {
searchData.push(value);
}
}
}
//var searchData = ["a", "pP", "pP", "l", "e"];

// we will use a pubKeyHash for comparing when generating an address (this saves the step of base58 encoding when generating an address)
// decode address to base58 and extract just the pubKeyHash (so remove the first number and checksum at the end of the address)
var targetPubKeyHash = Bitcoin.Base58.decode(target);
targetPubKeyHash = targetPubKeyHash.splice(1, targetPubKeyHash.length - 5);

// calculate total combinations
var totalCombinations = 0;
var totalIterations = 0;
var divisors = new Array();
divisors[0] = 1;
for(var i = 0; i < searchData.length; i++) {
if (i === 0) {
totalCombinations = searchData[i].length;
totalIterations = totalCombinations;
} else {
totalCombinations = totalCombinations  * searchData[i].length;
totalIterations += totalCombinations;
}
divisors[i + 1] = totalCombinations;
}


var amountOfTimesToUpdate = 1000;
var updateIncrements = totalCombinations / amountOfTimesToUpdate;
var nextUpdate = updateIncrements;

var i = 0;
(function asyncBitcoinAddressCheck() {

    var checkphrase = "";
for(var n = 0; n < searchData.length; n++) {
var index = Math.floor(i / divisors[n]) % searchData[n].length;
checkphrase += searchData[n][index];
}

var bytes = Crypto.SHA256(checkphrase, { asBytes: true });
var btcKey = new Bitcoin.ECKey(bytes);
var pubKeyHash = btcKey.getPubKeyHash();
var found = true;
for(var j = 0; j < pubKeyHash.length; j++) {
if (pubKeyHash[j] != targetPubKeyHash[j]) {
found = false;
}
}

if (found) {
var privWif = btcKey.getBitcoinWalletImportFormat();
var bitcoinAddress = btcKey.getBitcoinAddress();
        document.getElementById("brainbtcaddress").innerHTML = bitcoinAddress;
        document.getElementById("brainbtcprivwif").innerHTML = privWif;
        ninja.qrCode.showQrCode({
                        "brainqrcodepublic": bitcoinAddress,
                        "brainqrcodeprivate": privWif
                    });
        document.getElementById("brainkeyarea").style.visibility = "visible";
alert("Password is " + checkphrase);
return;
}

    if (i < totalCombinations) {
i++;
if (i > nextUpdate) {
nextUpdate += updateIncrements;
document.getElementById("bulktextarea2").value = "Checking combination " + (i + 1) + " out of " + totalCombinations + " (" + (Math.round( i / totalCombinations * 1000 ) / 10) + "%)";
setTimeout(asyncBitcoinAddressCheck, 0);
} else {
asyncBitcoinAddressCheck();
}
    }
})();

document.getElementById("bulktextarea2").value = "Checking combination " + totalCombinations + " out of " + totalCombinations + " (100%)";

Regards
Schalk

Hi Schalk, this worked properly when I fed it something with 2^11 (2048) combos, but hung the browser when i tried 2^23 (8m).

It just sits there not responding after clicking [view], and then finally I get a popup telling me it's not responding and would I like to kill it.

On the other hand tubby's handles massive numbers, but doesn't yet spit out the successful phrase.

Seems like with yours and his powers combined we're so close to having something here.
251  Bitcoin / Bitcoin Discussion / Re: Need to educate, time to sell bitcoins by the bit? (0.00000001) on: November 30, 2013, 02:45:28 AM
Why aren't we selling bitcoins by the bit yet?

Do you have to have 1.0 btc to "have bitcoins"? NO. You just need a bit!

Need a bit?

Got a bit?

Yeah I bought a bit for $1 each.

What?

A "bit" is already in use, a dictionary word in fact, and has been for decades.

We are trying  to educate people not confuse them. Conversation would be:

I've just bought a bit.
A bit of what?
No ... a bit.
You mean 1/8 of a byte???
No .... 0.00000001 of a bitcoin
How much of a bitcoin is that?
0.00000001
Sorry??

etc.
etc.

Smiley

Ain't ain't in the dictionary. (oh wait it is)

Words get removed added and changed all the time.

People understand bits of gold, and they will catch on to bits of bitcoin.

Regardless I still call 0.00000001 a bit.

And I always will.



"Bit" already has 2 meanings at least ....... and you want to add a third. Way to go.

By the way, its already got a name. A Satoshi.

I'm so grateful to the inventor of bitcoin, he's (they've) brought so much good into this world.

...but that's a shit name for 0.00000001.

It's too many syllables.

Calling them Sats or Naks would roll off the tongue easier.

252  Other / Beginners & Help / Re: will the bitcoin reach $1000 one day...? on: November 30, 2013, 02:35:58 AM
Currently prices are changing

BTC ~1000$
LTC dropping bellow 40$
FTC is sky rocketing 3x in past 24h

something big is gonna happens


Your right, big correction is comming soon !
Hopefully it will be healthy long term
but I still hope full if some big correction is also coming but its must stable over 1000$ now just because of bitcoinchina its going more stable and solid

darn. some polls at HN speculates that prices may rise further.
https://news.ycombinator.com/item?id=6752484
i do think correction has to happen first.


Don't forget we've already seen a correction from 950 to 400-ish.

And it's come back from there.
253  Economy / Auctions / Re: Advertise on BitcoinDifficulty.com - Now over 4000 uniques per day. on: November 30, 2013, 01:42:06 AM
Thanks for your bid.

The numbers are in for Friday - 6053 uniques.

Daily average for the past 7 days is sitting on 4850.
254  Economy / Auctions / Re: Advertise on BitcoinDifficulty.com - Now over 4000 uniques per day. on: November 30, 2013, 01:13:09 AM
Can you do a text link instead?  If so I'll bid .01BTC

Sure, I can write it as a text link if you like.

Thanks for your bid.
255  Economy / Speculation / Re: Is it true that 90% of current Bitcoins are owned by 50 people? on: November 29, 2013, 06:08:30 PM

Just take a look at this thread
Im pretty sure that the guy at silkroad owns around 1 third of all btc

You mean the FBI guy?
256  Economy / Auctions / Advertise on BitcoinDifficulty.com - Now over 4000 uniques per day. on: November 29, 2013, 05:14:35 PM
Put your banner on bitcoindifficulty.com for a month - Ranked #1 in Google for "Bitcoin Difficulty" searches.

Starting price 0.01 BTC  - auction will end in 7 days according to this post's timestamp on the forum.

Please note: 10% of the auction proceeds will be donated to Pieter Wuille (sipa).

Traffic has ramped up significantly since my last auction - This site now gets a very steady and consistent 4000+ unique visitors per day (Thursday saw 5970 uniques).

Buy it now price - 0.2 BTC.

Your 468x60 banner will replace the current 'Bitcoin Dice' banner.
257  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 29, 2013, 03:29:43 PM

I'm just going to wait for tubbyjr to take a nap and get back to me. His copy is 90% of the way there.
258  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 29, 2013, 01:33:21 PM
In this case it is irrelevant what your opinion is, a crap code remains crap even after you label other guys in the forum.

Thank you for reminding me to always check the 'self moderate' option.

I'm genuinely appreciative of that.
259  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 29, 2013, 11:33:24 AM
I'm patching the OPs code, as per his request.

Anyone that can actually code anything would never work on that, instead would do a proper implementation. I could provide an actual clean solution, but if OP is fine with that then whatever, it is his bounty after all.

I'd never hire a troll, no matter how skilled.

People skills come first, then coding prowess comes in second.
260  Bitcoin / Project Development / Re: [Bounty - 0.5 BTC ($500)] Javascript / Password Recovery issue on: November 29, 2013, 11:31:32 AM
Sorry, meant target. Note, it will be fastest when all characters are utilized, with your test, of having only one character, having more than 1 letter, at the current delay, it will go about 1500ms, for each combo. But when you utilize all 48, it will be 1500/48ms per combo. You adjust the delaynum to whatever suits you, I chose a high safe number, as I said, with it I reached 2M no prob, on my Q6600, although it is OC'd to 3.3 GhZ

Where do I put that? Could you please post your completed solution? Also, an alert() will not be appropriate for outputting the winning phrase, because I won't be able to copy it to the clipboard from there.

My copy used to just print it out in the big text area when it found it.

Thanks.
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 »
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!