News for hackers. Stuff that matters.
Re:Google's XSS game by lazyjones on Thursday May 29, 2014 @06:19AM (#7815535)
Nice one; I gave up trying to solve the last with the http-only google.com/jsapi and hosted my own with https, but then it occurred to me that it's even more trivial than I thought!

Checking our stuff for this mistake now ...

Re:Google's XSS game by gibybo on Thursday May 29, 2014 @07:08AM (#7815648)
I used "//" to get around the http regex (but this requires using an https host as you mentioned), is there another way to get around the regex?
Re:Google's XSS game by tautvidas on Thursday May 29, 2014 @07:45AM (#7815716)
Adding a space just before the URL works just as well.
Re:Google's XSS game by yen223 on Thursday May 29, 2014 @07:15AM (#7815660)
Spoiler: RaNDoM cApS
Re:Google's XSS game by _august on Thursday May 29, 2014 @07:52AM (#7815731)
//www.google.com/jsapi?callback=alert
Re:Google's XSS game by gpvos on Thursday May 29, 2014 @08:47AM (#7815932)
data:,alert('hi')
Re:Google's XSS game by jonaspf on Thursday May 29, 2014 @07:16AM (#7815666)
Use upper-case characters
Re:Google's XSS game by vsakos on Thursday May 29, 2014 @07:26AM (#7815685)
i think ftp:// works too

EDIT: no, it doesn't :D

Re:Google's XSS game by barrydahlberg on Thursday May 29, 2014 @07:25AM (#7815682)
SPOILER: You need a way to defeat the regex (see other comments here). Then think about what the "foo" actually does (and read the error console).
Re:Google's XSS game by yen223 on Thursday May 29, 2014 @07:02AM (#7815636)
What's the trivial solution to this? I also wound up hosting the malicious file on my personal server...
Re:Google's XSS game by trias on Thursday May 29, 2014 @07:28AM (#7815687)
data-uris also work: #data:text/javascript,alert('pwn')
Re:Google's XSS game by aidos on Thursday May 29, 2014 @08:24AM (#7815844)
That's what I used too. Hosting scripts is far too much like hard work...
Re:Google's XSS game by hrrsn on Thursday May 29, 2014 @07:57AM (#7815740)
There are apparently easier ways, but I just chucked an alert(); in my Dropbox public folder, did an //dl.dropboxusercontent.com/u/14XXX/xss.js as they serve both http and https.
Re:Google's XSS game by joshschreuder on Thursday May 29, 2014 @08:15PM (#7819428)
I put a small gist up and hotlinked through githack.com
Re:Google's XSS game by smsm42 on Friday May 30, 2014 @02:01PM (#7823140)
gist.github.com serves https, so you can use it whenever you need something sent over https.