Ryonan Wrote:
-------------------------------------------------------
> Hello,
> i stole cookie of a user, but i can't login right
> away with :
> javascript:document.cookie="user=1;password=434rer
> dsd343;"
> instead, i have to enter one by one, first with
> user, and then with password to login.
document.cookie does actually let you do multiple cookies at a time, however it splits cookies by new line rather than by semi-colon, so this would work:
javascript:document.cookie="user=1\napassword=434rerdsd343";alert(document.cookie);
fun cookie-setting bugs for all if you find somewhere letting you set a cookie 'value' in js
----------------------------------------------------------
Don't forget our IRC: irc://irc.irchighway.net/#slackers
[
kuza55.blogspot.com]