HNHacker News
TopNewBestAskShowJobs

euank

566 karma · joined October 28, 2013

hn@euank.com
submissionscomments
euank··on We recently awarded our biggest bug bounty payout
Citation needed.

There have been many vulnerabilities in YAML parsers for ruby because they let you encode actual objects / code.

JSON, despite being "Javascript object notation", can't actually encode full code/objects. You only have a few datatypes: (off the top of my head) bools, strings, numbers, arrays, key/value dicts. None of these are dangerous or difficult to parse.

What you might be thinking about is the recent Ruby on Rails vulnerability which was caused by transforming JSON into YAML and then parsing the YAML. It would be more accurate to say the YAML parser was vulnerable.

Your claim that "JSON parsers are notoriously vulnerable" implies that this is a common occurrence as well, not just a single incidence.

I personally don't see it as likely because JSON has pretty much no features compared to xml; the surface area is tiny.

euank··on Teleportation on the command line
It looks like no one has posted what, in my opinion, is the most powerful of the "jump" programs: fasd.

My workflow for getting around is just to type "z <fragment of directory name>" and I almost always end up where I want. If I just want to edit a file, not a project, I do vim `f <filename fragment>` and likewise get the file I want typically.

The readme makes it pretty clear how awesome it is and I've stuck with it after using autojump, z, and others.

https://github.com/clvv/fasd

euank··on Browser Extension Password Managers Exposing Passwords Everywhere
Read the article - each attack it mentions only applies to browser-integrated ones.

If instead you mean "browser-integrated" as in the default "remember my password", well, those are not what this paper discusses and are generally better, though they are still not as desirable as a standalone less-privileged manager.

The idea that the password manager should be separate is practically common sense. Browsers provide more surface are for attack. Browsers are made to share content and work with network data. Ideally, your password manager should never touch the network ever. It has no need to.

euank··on Winamp shutting down on December 20th, 2013
Thanks for the information. It was true the last time I used subsonic, but that isn't all that recently. Still, I have no doubt it wouldn't be hard to remove it from the code.
euank··on Winamp shutting down on December 20th, 2013
You don't need to. Since subsonic is Open Source, there's naturally multiple forks with the licensing code removed. The best fork, which also adds features, is madsonic[0]. I recommend it. In addition, if you already have subsonic, the license code is simply a check if your password = the md5 of your email. So using "example@example.com" and "23463b99b62a72f26ed677cc556c44e8" will make it think you're a valid subscriber and give you all features.

[0]: http://www.madsonic.org/

euank··on FizzBuzz solved using only bit twiddling
Nice! I cleaned it up a little, shortened it down, got it down from 7 to 4 for loops. It is inspired by yours of course!

https://gist.github.com/euank/7206859

← PreviousPage 5 of 5