News for hackers. Stuff that matters.
Re:Cracking WordPress passwords with 20 lines of Go by guessmyname on Saturday May 30, 2020 @10:01PM (#23366577)
> Cracking WordPress passwords with 20 lines of Go

The original title is actually “WordPress passwords, explained and cracked”.

It seems Frenxi —the author— added “… with 20 lines of Go” in the post submission simply to appeal to the masses of Hacker News who often upvote links based on keywords more than the content of the article. Per the Hacker News Guidelines [1] → “[…] please use the original title, unless it is misleading or linkbait; don't editorialize.”

Go has nothing to do here except the author decided to write the brute force password cracker in it. The program could have been written in any other programming language without losing anything. Honestly, I am disappointed. They didn’t even try to make an interesting cracking program, the program doesn’t even have goroutines which one would expect from a tool that is trying to brute force a solution.

[1] https://news.ycombinator.com/newsguidelines.html

Re:Cracking WordPress passwords with 20 lines of Go by eyelidlessness on Saturday May 30, 2020 @10:47PM (#23366743)
Maybe the interesting thing about it is that it doesn't require any interesting techniques to crack WP passwords? That seems interesting (although unsurprising having an early career background in PHP and WP) to me.
Re:Cracking WordPress passwords with 20 lines of Go by tialaramex on Sunday May 31, 2020 @01:22AM (#23367402)
Given a password database, and the password check algorithm, this sort of dictionary or brute force approach is just a loop, regardless of the algorithm used because that's factored out.

Worse algorithms can offer the possibility of an exciting optimisation, especially for bulk cracking (e.g. Microsoft's LanMan Hash) - but that's not happening here.

In the case of this algorithm you could get a boost by vectorising to run on a GPU, memory hard pessimisation defeats that and this password hash doesn't offer it, again this Go program doesn't do that either.

For any human memorable password scheme, "Guess until you get lucky" is potentially viable and that's all this does, so it's almost the least interesting case.