News for hackers. Stuff that matters.
Re:Google's XSS game by instakill on Thursday May 29, 2014 @08:37AM (#7815885)
What is lvl2's answer? I'm trying:

<img src='invalid_link.png' onerror="this.src='alert(1);'">

Re:Google's XSS game by stevekemp on Thursday May 29, 2014 @09:52AM (#7816197)
My solution was:

     <img src="foo" onMouseOver="alert(33);"
Interesting to see so many people used onError instead.
Re:Google's XSS game by Toadsoup on Thursday May 29, 2014 @03:19PM (#7818056)
One of the hints says you can use onError()

I'm sure that's where most people are getting it from.

Re:Google's XSS game by octatone2 on Thursday May 29, 2014 @10:34AM (#7816381)
img src='garbage' onerror='script' is gauranteed to auto execute, where mouseover requires the user to mouse over the element.
Re:Google's XSS game by dnvsasm on Thursday May 29, 2014 @01:54PM (#7817584)
onerror= is usually the one used in CTF and XSS examples!
Re:Google's XSS game by dpacmittal on Thursday May 29, 2014 @11:54AM (#7816842)
I used just onclick
Re:Google's XSS game by SimeVidas on Thursday May 29, 2014 @08:39AM (#7815890)
just onerror="alert(1)" :)
Re:Google's XSS game by JustMadMike on Thursday May 29, 2014 @08:44AM (#7815914)
I did <a onclick="alert('hakz');">click</a>
Re:Google's XSS game by dagurp on Thursday May 29, 2014 @09:13AM (#7816030)
Me too, except I used a button tag. Feels like cheating though.