Live data from Hacker News

Passwordle

rsk0315.github.io

41–50 of 263 posts

Re: Passwordle

#41
post #18

What exactly is this showing ?

It's a clone of the popular wordle game where you have to guess a word, except here, you have to guess a password but instead of telling you which characters of the password are correct it tells you which characters of the corresponding SHA-256 hash are, which makes this pretty much impossible to solve as the whole point of a hash are that small changes in the input (such as a different character in the password) res…

> pretty much impossible to solve

Literal understatement of all time…

Re: Passwordle

#44

Password is randomized on each load. Author has conveniently left a debugger statement in the code.

I did not know about the debugger statement until I read your comment: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... . Thank you.

It's pretty powerful. I oftentimes struggle to get VS code to pick up a breakpoint when debugging serverless node functions, but the debugger statement usually gets it working.

Re: Passwordle

#45
post #37

Got it in one "guess." Apparently どうぞ means "here you are." Makes me think the brick was deliberately left in the door for folks who look for such things.

No post body was provided.

Re: Passwordle

#46
post #30

Earlier quoted context omitted.

Part of me wishes the author just took common passwords from rockyou.txt so that they're at least guessable. Though random really does add to the absurdity.

Or use a new password every day like worle. So you have a community effort to guess it

Is any of the information (yellow/green for characters) presented getting you closer to the real answer in any meaningful way though?

Re: Passwordle

#47
post #16

Earlier quoted context omitted.

Yeah same. From the source code, the answer is a random 14-character string, generated on load: function randomPassword() { let letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; let digits = '0123456789'; let punctuation = '!"#$%&\'()*+,-./:; ?@[\\]^_`{|}~'; let s = letters.repeat(7) + digits.repeat(4) + punctuation.repeat(3); let length = 14; let res = Array.from({length}, (() => s[randomInt(s.length…

I wish it accepted a given password from a url query parameter, so this url would work: https://rsk0315.github.io/playground/passwordle.html?passwor... Or the way bikeshed.com lets you configure the color with the domain name, like: https://bisque.bikeshed.com/ Then they could monetize it by selling gullible suckers NFTs of urls pointing to Passwordle games of their passwords.

Even better would be to link to the hash of the password, then there would be no way to guess.

Re: Passwordle

#48

Earlier quoted context omitted.

Massively useful! I also recently learned you can right click a line of code in the chrome debugger to add a logpoint - i.e. "log the value of this expression when you reach this point in the code" - so I don't have to manually add console.log statements. Basically the reverse of discovering the debugger statement!

> you can right click a line of code in the chrome debugger to add a logpoint...so I don't have to manually add console.log statements Thank you, this is the best thing I've learned in 2022.

Next try https://www.replay.io, which allows you to add logpoints to code that has already executed.

Re: Passwordle

#50
post #30

Earlier quoted context omitted.

Part of me wishes the author just took common passwords from rockyou.txt so that they're at least guessable. Though random really does add to the absurdity.

Or use a new password every day like worle. So you have a community effort to guess it

That sounds like Bitcoin with extra steps

Jokes aside, that would actually be fun if the password is actually reasonably guess-able, I would definitely give it a try if that existed

Post reply on HN