I am playing one pentesting game theres a task where i need to perform multi line xss to print cookies.
I was able to make xss that print "x" because one line is too short for entire command so this works
"><script>alert("x")</script>( this is max length of field and we have three fields available)
But i need to use this
"><script>alert(document.cookie)</script> and dont know how to modify it for three fields that i have for this task.
Thanks for any help