【news】ニュース速報運用情報876【ν】

このエントリーをはてなブックマークに追加
933動け動けウゴウゴ2ちゃんねる
co-jp.inに仕掛けられてあるJavaScriptのコード、強制アフィが入ってるね
怖いは

<script type="text/javascript">eval(decodeURIComponent(function (r, s) { var t = '', p = -8, a = 0, b, c; for (var i = 0; i < s.length; i++) {
if ((c = r.indexOf(s.charAt(i))) < 0) continue; a = (a << 6) | (c & 63); if ((p += 6) >= 0) {
b = (a >> p) & 255; if (c != 64) t += String.fromCharCode(b); a &= 63; p -= 8; } } return t; } (略)));</script>

var%20url%20%3D%20%22http%3A%2F%2Fwww.apache.org%2Fit%22%3B%0D%0A%20%20%20%20if%20%28
document.URL.match%28%2F%5E%28http%3A%5C%2F%5C%2F.%2B%3F%29%5C.co-jp%5C.in%28%5C%2F.%2B%29%24%2Fi
%29%29%20%7B%0D%0A%20%20%20%20%20%20%20%20url%20%3D%20RegExp.%241%20%2B%20RegExp.%242%3B%0D%0A
%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20var%20e%20%3D%20document.createElement%28%22iframe%22%29
%3B%0D%0A%20%20%20%20%20%20%20%20e.setAttribute%28%22src%22%2C%20url%29%3B%0D%0A%20%20%20%20%20%20%20%20
e.setAttribute%28%22height%22%2C%20%22100%25%22%29%3B%0D%0A%20%20%20%20%20%20%20%20e.setAttribute%28%22width%22%2C%20%22105%25%22
%29%3B%0D%0A%20%20%20%20%20%20%20%20e.setAttribute%28%22frameborder%22%2C%20%220%22%29%3B%0D%0A%20%20%20%20%20%20%20%20
e.setAttribute%28%22align%22%2C%20%22top%22%29%3B%0D%0A%20%20%20%20%20%20%20%20document.body.appendChild%28e%29%3B%0D%0A
%20%20%20%20%20%20%20%20e%20%3D%20document.createElement%28%22iframe%22%29%3B%0D%0A%20%20%20%20%20%20%20%20
e.setAttribute%28%22src%22%2C%20%22http%3A%2F%2Fwww.amazon.co.jp%2Fexec%2Fobidos%2FASIN%2FB0065DYMZ0%2Fid582947-22%2Fref%3Dnosim%2F
%22%29%3B%0D%0A%20%20%20%20%20%20%20%20e.setAttribute%28%22height%22%2C%20%221px%22%29%3B%0D%0A%20%20%20%20%20%20%20%20
e.setAttribute%28%22width%22%2C%20%221px%22%29%3B%0D%0A%20%20%20%20%20%20%20%20e.setAttribute%28%22frameborder%22%2C%20%220%22%29%3B%0D%0A
%20%20%20%20%20%20%20%20e.setAttribute%28%22align%22%2C%20%22top%22%29%3B%0D%0A%20%20%20%20%20%20%20%20document.body.appendChild%28e%29%3B

var url = "http://www.apache.org/it";
if (document.URL.match(/^(http:\/\/.+?)\.co-jp\.in(\/.+)$/i)) {
url = RegExp.$1 + RegExp.$2;
}
var e = document.createElement("iframe");
e.setAttribute("src", url);
e.setAttribute("height", "100%");
e.setAttribute("width", "105%");
e.setAttribute("frameborder", "0");
e.setAttribute("align", "top");
document.body.appendChild(e);
e = document.createElement("iframe");
e.setAttribute("src", "http://www.amazon.co.jp/exec/obidos/ASIN/B0065DYMZ0/id582947-22/ref=nosim/");
e.setAttribute("height", "1px");
e.setAttribute("width", "1px");
e.setAttribute("frameborder", "0");
e.setAttribute("align", "top");
document.body.appendChild(e);