News for hackers. Stuff that matters.
Re:Microsoft's Skydrive sends two million NULL characters by gingerlime on Monday November 12, 2012 @08:17AM (#4772686)
I was thinking the same thing. Is the content gzip'd on the server? This could be a nice (i.e. evil) way to send a very small response to the browser that would pretty much kill it.

a slightly more evil version would be to perhaps do:

  var x="...2 billion of the same character...";
This should compress very well to gzip, but will likely to exhaust the browser's memory (??)
Re:Microsoft's Skydrive sends two million NULL characters by samwillis on Monday November 12, 2012 @08:51AM (#4772798)
You are describing a zip/decompression bomb. Most zip and compression libs protect against them.

http://en.wikipedia.org/wiki/Zip_bomb

Re:Microsoft's Skydrive sends two million NULL characters by gingerlime on Monday November 12, 2012 @03:09PM (#4774485)
Interesting, but the wikipedia article mentions that antivirus libraries protect against those. Couldn't find much on wikipedia or otherwise talking about browsers or zip libraries that have built-in protection for this...
Re:Microsoft's Skydrive sends two million NULL characters by mey on Monday November 12, 2012 @12:53PM (#4773842)
Re:Microsoft's Skydrive sends two million NULL characters by olliesaunders on Monday November 12, 2012 @08:45AM (#4772775)
This is very similar to the ping of death that requests a undeliverably big ping response.
Re:Microsoft's Skydrive sends two million NULL characters by plaguuuuuu on Monday November 12, 2012 @06:12PM (#4775301)
Ping of death was +++ath0 which causes a dialup modem to hang up.

I have no idea why most modems did this. But by god it was a lot of fun on IRC when I was 14 or so. I still remember the hex string for +++ath0 you'd need to pass into 'ping -p', haha..

Re:Microsoft's Skydrive sends two million NULL characters by nickzoic on Monday November 12, 2012 @07:45PM (#4775629)
The "proper" Hayes AT drop-back-to-command-mode sequence was +++ followed by a long pause (1 second or so). Any characters sent during that pause time would invalidate the attempt to switch to command mode. So theoretically this shouldn't happen. However, lots of cheaper modems seemed to not check for the pause, so sending +++ATH0 would make them switch to command mode and immediately process a Hangup command ... not pretty :-).
Re:Microsoft's Skydrive sends two million NULL characters by thristian on Monday November 12, 2012 @11:44PM (#4776455)
Specfically, that pause was the part of the Hayes AT command-set that was patented. Therefore lots of manufacturers who didn't want to licence the patent but wanted to have 'Hayes AT compatible' on the box just didn't bother implementing the timeout-cancellation bit.
Re:Microsoft's Skydrive sends two million NULL characters by nickzoic on Tuesday November 13, 2012 @10:17PM (#4781854)
Wow, I didn't know that, it explains a lot.
Re:Microsoft's Skydrive sends two million NULL characters by rcxdude on Monday November 12, 2012 @08:35AM (#4772749)
Indeed, there was a 'crash your browser' webpage a few months ago which used this technique I think. Unfortunatly I can't find it currently.
Re:Microsoft's Skydrive sends two million NULL characters by logn on Monday November 12, 2012 @04:13PM (#4774820)
Oh, I do remember seeing that. Ahh, just fou
Re:Microsoft's Skydrive sends two million NULL characters by VMG on Monday November 12, 2012 @01:36PM (#4774064)
The easier version would be to just run a crashing script

    var i = 1, a = []; while(a[i++] = "a" + a);