Y
Hacker News
new
|
ask
|
show
|
jobs
by
stevekemp
4401 days ago
My solution was:
<img src="foo" onMouseOver="alert(33);"
Interesting to see so many people used onError instead.
4 comments
Toadsoup
4401 days ago
One of the hints says you can use onError()
I'm sure that's where most people are getting it from.
link
octatone2
4401 days ago
img src='garbage' onerror='script' is gauranteed to auto execute, where mouseover requires the user to mouse over the element.
link
dnvsasm
4401 days ago
onerror= is usually the one used in CTF and XSS examples!
link
dpacmittal
4401 days ago
I used just onclick
link
I'm sure that's where most people are getting it from.