How To Hack Your Own Password

[Haseeb] failed the marshmallow test as a kid. He has no self-control. He wastes a lot of time on reddit. There is a solution to this problem — simply lock yourself out of your account. The process is simple, and all you need to do is change your password to something random, change the recovery email address, and click submit. In the blink of an eye, all your imaginary Internet points vanish.

That’s the one guaranteed way to quit reddit. However, [Haseeb] wanted to hold onto those magic Internet points in the event they become worth something. This led to a far more baroque solution. He found a service that would email him at a later date, send an email to himself containing a random password, and quit reddit temporarily. Until that email was delivered, he was officially off reddit. When that email was received, productivity would stop.

A few years pass, and [Haseeb] had some time to kill at his new job. He decided to scrounge up his old password, only to discover he locked himself out of his Reddit account until 2018. What followed is a security exploit of an ’email me in the future’ service, and a great example of how much effort one person will commit to a lifetime of instant gratification.

The email service in question is LetterMeLater, a site that will send an email at some arbitrary point in the future. You can hide the body of the email from yourself, making this a fairly good solution for what [Haseeb] is doing. He was still locked out of his email, though, and emailing the people running LetterMeLater seemed absurd. Dopamine is fun, though, and [Haseeb] eventually found a workaround. This site indexes the body of an email for search. This is great, because the body of the email this site would send [Haseeb] in 2018 contained his reddit password and only his reddit password. With a little bit of code, he can perform substring queries on an email he can’t read. Now, extracting the password is simply a first year CS homework problem.

At this point, the only thing [Haseeb] knows about his password is that it’s a long string of random characters that probably doesn’t include upper-case characters. That’s 26 possible characters, 10 possible numbers, and a character bank that can be determined by searching his email one character at a time. [Haseeb] is essentially playing Hangman against his former self here.

After figuring out an API for LetterMeLater, [Haseeb] whipped up a quick bit of code that finds the password by searching substrings. It’s beautiful and recursive, although he did break it down into finding a suffix of the password then determining the remainder of the password. It took 443 iterations of the code to find the password, and when that was complete he logged into reddit. Math works, although [Haseeb] will have to figure out a way to wean himself off the opiate of the millennials again.

Shower Thoughts in Your Car

The subreddit for Shower Thoughts offers wisdom ranging from the profound to the mundane. For example: “Every time you cut a corner you make two more.” Apparently, [Harin] has a bit of an addiction to the subreddit. He’s been sniffing the CAN bus on his 2012 Hyundai Genesis and decided to display the top Shower Thought on his radio screen.

To manage the feat he used both a Raspberry Pi and an Arduino. Both devices had a MCP2515 to interface with two different CAN busses (one for the LCD display and the other for control messages which carries a lot of traffic.

The code is available on GitHub. There’s still work to do to make the message scroll, for example. [Harin] has other posts about sniffing the bus, like this one.

We’ve covered CAN bus quite a bit, including some non-automotive uses. We’ve even seen the CAN bus for model railroading.

Picture Frame Mashup Taps Subreddits For “Deep Thoughts”

Remember “Deep Thoughts by Jack Handey”? We do, and we always enjoyed the quirky mix of soothing music, soft-focus nature images, and random absurd thought scrolling across the screen as bumpers between segments on Saturday Night Live. Clearly, [tvm78] remembers them, because his picture frame mashups of the r/EarthPorn and r/ShowerThoughts subreddits could have been written by Jack himself.

While [tvm78] shares no photos of his build and offers no tutorials, he makes it clear that this was his first build of any kind. He does offer a few details, like the fact that he’s driving a display with a Raspberry Pi, and he handily references a similar build that includes the code he borrowed to make his frame happen. While we feel that the original mashup works well, several helpful redditors offer suggestions for other combinations, like r/ArchitecturePorn and /r/nocontext, or r/abandonedporn and r/onelinehorror. Of course a straight grab from r/demotivational could be fun too.

We’ve seen tons of web-enabled picture frames before, and plenty of “magic mirror” builds that display useful information on a two-way mirror. But this one appeals to the cynic in us, and would make Jack Handey proud.

Sand Cast Banana for Scale is So Metal

If you’ve been on Reddit over the past year, you’ve likely encountered the “banana for scale” meme. [BFG121] felt that the size variation of bananas would not do – there needed to be a standard. He decided to make a metal banana out of re-purposed aluminum. He created his own furnace out of everyday objects including a hair dryer, metal bucket, cement, fire clay, and sand. [BFG121] used a typical banana as the reference for his sand casting mold. After melting the aluminum in his homemade furnace, he poured it into the empty mold, making sure there was an extra hole for the displaced air to escape. The end result is a perfect replica of a banana. [BFG121] made two aluminum bananas, and stamped each one with a serial number. One was given to Imgur headquarters while the other was auctioned on eBay. The winning bid (#39) was $67 USD, a very good ROI.

If you want to learn more about metal casting, check out myfordboy’s channel on YouTube.  You can also see an example of the “banana for scale” in this Hackaday article about a giant spirograph. Our only suggestion to [BFG121] is to send some to ASTM, NIST, and BIPM!

[via Reddit]

Hackaday Reddit AMA (ask me anything) Happening Right Now

hackaday-szczys-reddit-proof_1Today we’re interacting on an “Ask Me Anything” over at Reddit.

Now’s the time to ask your question about all-things-Hackaday. No topic is off limits. Wonder how the Blog operates? What’s the deal with Hackaday Projects? Need an answer to questions about The Hackaday Prize? Just ask!

[Mike Szczys] started the thread and I’ve provided proof as seen here, but most of the writing staff are Reddit regulars so questions for specific writers are welcome as well. What’s on your mind?

Hackaday AMA: Thursday Morning at 10am Eastern Time

hackaday-szczys-reddit-proof_1Come one, come all, to an epic Reddit AMA.

It’s been almost two years since our last “Ask Me Anything” and it’s an understatement that ‘sort of a lot has happened’ since then. We changed parent companies, expanded our writing staff, hosted our first live event (and a few smaller ones since), launched Hackaday Projects, and now we’re in the middle of The Hackaday Prize.

Any question is fair game (that’s why they call it an AMA) so now’s the time to get that query that’s been bugging you answered.

You will need a Reddit account to ask questions or to vote them up and down. But anyone can read the thread without logging in. Speaking of threads, we can’t give you a link yet because it won’t be available until we start at 10am Eastern Time on Thursday, June 26th. But watch the top of the blog, we’ll publish another post as soon as the link is ready!

UPDATE 6/26/14 9:25am Eastern: The Reddit thread is now live. Please feel free to start adding questions. Answers will start in 35 minutes.

Electronic Puzzle Box Uses Only Discrete Components

Puzzle box

Do you need an idea for a fun do it yourself gift for a friend or significant other? Look no further, [conductance] has you covered. He put together an awesome electronic puzzle box using all analog electronics. The puzzle case is shaped like an over sized die and is made out of wood. It also requires a small jumper cable and an external magnet to complete the puzzle.

This is a six-sided die, where each side has something different to offer. The “five” side of the die shows the progress you’ve made in completing the puzzle. Each of the five dots contains a green LED that will light up when the corresponding puzzle has been successfully completed.

The “one” side is completed by placing the included magnet over the dot. The magnet activates a reed switch which lights up the first LED. The “two” side contains a tilt switch. In order to solve this piece of the puzzle you must ensure the two side is facing up, as if you rolled a two. The “three” side contains three key switches. Each switch must be turned to a particular orientation. Once all three keys are configured properly, a third LED lights up.

The “four” side contains four sockets that fit the included jumper cable. This puzzle is solved by jumping the two correct sockets together. Finally, the number “six” side just has six momentary push buttons. All six buttons must be pressed simultaneously in order to light up the final LED. The tricky part is pressing all six buttons while simultaneously “rolling” a two in order to ensure the tilt switch is also activated.

Once all five LED’s are lit up, a relay is triggered which then activates a solenoid. The solenoid unlocks the door and reveals the prize. It’s always great to see electronics circuits like this that use all discrete components. This could have been accomplished any number of ways, but there’s something satisfying about a simple circuit that’s just right for the job. Be sure to check out [conductance’s] schematic if you want to see how this puzzle works.

[via Reddit]