HN user

maxjus

744 karma
Posts11
Comments22
View on HN
[dead] 12 years ago

I updated the copy on the site to clear up a couple of things.

You would be right -- if the use case for this was transmitting encrypted information. The reason I made this was mostly for email. Sometimes I want to send someone a message and not have it exist forever. In that case, you could send a link to the message along with the key. Then, after n hours, the message would cease to exist anywhere (assuming the server fulfills its contract). This works better than having the server just store the whole message, since now the server gets to be ignorant of the message's content. Mostly this was a fun little project I wanted to share :)

Google's XSS game 12 years ago

Interestingly, modern WebKit browsers include an "XSS auditor" that will refuse to run javascript sent in the request that loaded the page. It's pretty good (and open-source), so figuring out a way to have XSS without hitting the auditor is a big win for the attacker.

Here's a story you guys might appreciate.

I found a cross site scripting vulnerability in Bing.com that was kind of hilarious. Searching for:

  </script><script>arbitrary js</script>
in the main search box would execute the code on the results page. I mean, holy shit. I could not believe it. I emailed their whitehat service and they fixed it but I never received a bounty.

Here's the best part -- these websites are built terribly and are very open to this sort of thing.

After about 2 minutes of looking, I've just found that nic.io (or just io.) basically lets you type arbitrary html into the search boxes. Chrome's built in XSS auditor catches any scripts you put in there, but (at least) Firefox doesn't.

Check it out:

http://io./cgi-bin/whois?query=%3Ca%20href=%22%22%3E%3Cu%3EA...

If you load it in Firefox (or any browser without an XSS auditor) it'll pop an alert, otherwise you'll just see the image I loaded and a link I inserted.

This is ridiculous.

It should be noted that for the actual lottery, the advice given is wrong. Because in many real lotteries the first five digits can be in any order, 1 1 1 1 1 would be less likely than, say, 13 23 42 33 2, because, though there is only one way to end up with 1 1 1 1 1, there are 5! == 120 ways to achieve the latter (I am ignoring the "bonus ball").

I had an iPhone 4 until a few weeks ago, much in the same mindset as yourself. Though it can do 99% of what the 5 does, the speed difference really makes it feel like a completely different experience. Also the new screen has a much better aspect ratio for watching videos. It sounds silly, but that was my experience. If you're due for an upgrade I would highly recommend it. I promise I don't work for Apple :)

CloudFlare is saying that the site may be down due to "excessive load." I was under the impression that this is one of the main reasons CloudFlare exists, to handle big surges in traffic like this one. Their intro video leads me to the same conclusion. Can anyone who uses CloudFlare shed some light on this?

You could also change your user agent to that of a mobile device and pay $5. Dishonesty is always an (unethical) option.

The technical complexity of getting a seamless Wifi connection 30,000 feet above ground warrants its $12.00 in my opinion.

Thanks! Total cost of materials was ~$50 or so excluding the Arduino which I already had. With most projects like this one I try switching to a barebones ATMEGA328 (the microcontroller at the heart of the Arduino) if I can to save money, but in this case I needed the Arduino's onboard 5V regulator. I assembled the entire thing this evening.

I know that some modern iOS devices actually require a specific voltage across the data lines to tell the device what wattage charger it's using. In that situation you would have to add a couple of resistors to the charging cable between the voltage and data pins, which definitely makes it a lot more difficult for most people.

You might find the following interesting: http://www.ladyada.net/make/mintyboost/icharge.html