Re:Google's XSS game
by 0x4139 on Thursday May 29, 2014 @07:22AM
(#7815678)
can someone share theirs hosted script that echos and alert? :D
[ Parent
| on HN ]
Re:Google's XSS game
by sebslomski on Thursday May 29, 2014 @08:19AM
(#7815824)
data:text/javascript,alert('foo')
Thank you sir! I learned something new today =)
Re:Google's XSS game
by releasedatez on Friday May 30, 2014 @12:54AM
(#7820337)
Thank you!
Re:Google's XSS game
by dpacmittal on Thursday May 29, 2014 @11:57AM
(#7816855)
Just add a foo.js file to any of your GitHub repos, grab its raw URL and pass it through rawgit.com.
//dl.dropboxusercontent.com/u/18177522/google_xss_game/alert.js
You don't need to:
data:text/javascript;base64,YWxlcnQoMTMzNyk=
They provided a hosted callback in the clues. Just change foo to alert.
The callback in the hints didn't work for me in the game, but the other suggestions here are working and quite eye opening ...
That this works is really scary if not fully surprising: data:text/javascript;base64,YWxlcnQoMTMzNyk=
Thanks jehna1 , sebslomski , all!