3 ms·
Brute forced the 1 BTC award. The HN user was 'petercooper'.
by Sambdala 13y ago
Brute forced the 1 BTC award.
The HN user was 'petercooper'.
- aristidesfl 13y agoDid you use the site generator or did you implement in another language?
- Sambdala 13y agoUsing the console: I wrote a wrapper function around the site generator that took a callback so the next string to test would be called recursively. If a public key matched the public key I was aiming for, I dumped the response to the console, otherwise I just called the wrapper function again. Then I wrote a function that iterated over a list of strings and output an array with all the possible permutations. Then I just fed an array of the userids of the top 20 users into that function and fed that function into my wrapper. I opened 5 browser windows and fed each of them 20 userids to take advantage of multiple cores, but I'm not entirely sure that makes sense to do.
- maxtaco 13y agoCongrats!
- aristidesfl 13y agoAnd the password was 'petecoper'
- alextroyanskij 13y agoCongratulations! I'm curious to know - is that script now working on the 20BTC's challenge?
- lazzlazzlazz 13y agoUnfortunately that script would take thousands of years to solve the challenge. Whoever does will need to use a much more creative method - probably something circumventing the need to brute-force.